libzypp 17.31.23
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#include <map>
21
23namespace zypp
24{
26 namespace solver
27 {
29 namespace detail
30 {
31
32 class Resolver;
33
35 //
36 // CLASS NAME : Testcase
40 class Testcase
41 {
42 private:
43 std::string dumpPath; // Path of the generated testcase
44
45 public:
46 Testcase();
47 Testcase( const std::string & path );
48 ~Testcase();
49
50 bool createTestcase( Resolver & resolver, bool dumpPool = true, bool runSolver = true );
51 };
52
54 };// namespace detail
57 };// namespace solver
60};// namespace zypp
62#endif // ZYPP_USE_RESOLVER_INTERNALS
63#endif // ZYPP_SOLVER_DETAIL_TESTCASE_H
Easy-to use interface to the ZYPP dependency resolver.
Definition: CodePitfalls.doc:2