libzypp  13.10.6
Testcase.h
Go to the documentation of this file.
1 /*---------------------------------------------------------------------\
2 | ____ _ __ __ ___ |
3 | |__ / \ / / . \ . \ |
4 | / / \ V /| _/ _/ |
5 | / /__ | | | | | | |
6 | /_____||_| |_| |_| |
7 | |
8 \---------------------------------------------------------------------*/
13 #ifndef ZYPP_SOLVER_DETAIL_TESTCASE_H
14 #define ZYPP_SOLVER_DETAIL_TESTCASE_H
15 
16 #include <string>
18 
20 namespace zypp
21 {
22  namespace solver
24  {
25  namespace detail
27  {
28 
30  //
31  // CLASS NAME : Testcase
35  class Testcase
36  {
37  private:
38  std::string dumpPath; // Path of the generated testcase
39 
40  public:
41  Testcase();
42  Testcase( const std::string & path );
43  ~Testcase();
44 
45  bool createTestcase( Resolver & resolver, bool dumpPool = true, bool runSolver = true );
46  };
47 
49  };// namespace detail
52  };// namespace solver
55 };// namespace zypp
57 
58 #endif // ZYPP_SOLVER_DETAIL_TESTCASE_H
Generating a testcase of the current pool and solver state.
Definition: Testcase.h:35
A mid layer class we should remove.
Definition: Resolver.h:101
bool createTestcase(Resolver &resolver, bool dumpPool=true, bool runSolver=true)
Definition: Testcase.cc:475