libzypp: zypp/solver/detail/Testcase.h Source File

libzypp 17.38.5

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-core/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
Globals.h
Provides API related macros.
ZYPP_API_DEPTESTOMATIC
#define ZYPP_API_DEPTESTOMATIC
Definition Globals.h:77
zypp::solver::detail
Definition PoolImpl.h:110
zypp::solver
Definition PoolImpl.h:109
zypp::target::rpm::dumpPath
_dumpPath dumpPath(const Pathname &root_r, const Pathname &sub_r)
dumpPath iomaip to dump '(root_r)sub_r' output,
Definition librpmDb.h:42
zypp
Easy-to use interface to the ZYPP dependency resolver.
Definition CodePitfalls.doc:2