libzypp 17.37.17
Testcase.h
Go to the documentation of this file.
1/*---------------------------------------------------------------------\
2| ____ _ __ __ ___ |
3| |__ / \ / / . \ . \ |
4| / / \ V /| _/ _/ |
5| / /__ | | | | | | |
6| /_____||_| |_| |_| |
7| |
8\---------------------------------------------------------------------*/
12
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#include <zypp/Globals.h>
22
24namespace zypp
25{
27 namespace solver
28 {
30 namespace detail
31 {
32
33 class Resolver;
34
36 //
37 // CLASS NAME : Testcase
41 class ZYPP_API_DEPTESTOMATIC Testcase
42 {
43 private:
44 std::string dumpPath; // Path of the generated testcase
45
46 public:
47 Testcase();
48 Testcase( std::string path );
49 ~Testcase();
50
51 bool createTestcase( Resolver & resolver, bool dumpPool = true, bool runSolver = true );
52 };
53
55 };// namespace detail
58 };// namespace solver
61};// namespace zypp
63#endif // ZYPP_USE_RESOLVER_INTERNALS
64#endif // ZYPP_SOLVER_DETAIL_TESTCASE_H
_dumpPath dumpPath(const Pathname &root_r, const Pathname &sub_r)
dumpPath iomaip to dump '(root_r)sub_r' output,
Definition librpmDb.h:42
Easy-to use interface to the ZYPP dependency resolver.
#define ZYPP_API_DEPTESTOMATIC
Definition Globals.h:77