libzypp  17.23.8
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 #ifndef ZYPP_USE_RESOLVER_INTERNALS
16 #error Do not directly include this file!
17 #else
18 
19 #include <string>
20 
22 namespace zypp
23 {
24  namespace solver
26  {
27  namespace detail
29  {
30 
31  class Resolver;
32 
34  //
35  // CLASS NAME : Testcase
39  class Testcase
40  {
41  private:
42  std::string dumpPath; // Path of the generated testcase
43 
44  public:
45  Testcase();
46  Testcase( const std::string & path );
47  ~Testcase();
48 
49  bool createTestcase( Resolver & resolver, bool dumpPool = true, bool runSolver = true );
50  };
51 
53  };// namespace detail
56  };// namespace solver
59 };// namespace zypp
61 #endif // ZYPP_USE_RESOLVER_INTERNALS
62 #endif // ZYPP_SOLVER_DETAIL_TESTCASE_H
zypp
Easy-to use interface to the ZYPP dependency resolver.
Definition: CodePitfalls.doc:1