13#ifndef ZYPP_MISC_TESTCASESETUP_H
14#define ZYPP_MISC_TESTCASESETUP_H
48 struct ForceInstallImpl;
49 struct TestcaseSetupImpl;
57 const std::string &
alias()
const;
59 const std::string &
path()
const;
72 const std::string &
channel ()
const;
73 const std::string &
package ()
const;
74 const std::string &
kind ()
const;
114 using LockEntry = std::pair<std::string, std::map<std::string,std::string>>;
121 const std::optional<RepoData> &
systemRepo()
const;
122 const std::vector<RepoData> &
repos()
const;
133 const std::vector<std::vector<std::string>> &
vendorLists()
const;
137 const std::vector<LockEntry> &
locks()
const;
#define ZYPP_DECLARE_FLAGS_AND_OPERATORS(Name, Enum)
relates: Flags
Provides API related macros.
#define ZYPP_API_DEPTESTOMATIC
creates and provides information about known sources.
RWCOW_pointer< ForceInstallImpl > _pimpl
const std::string & package() const
const std::string & kind() const
const std::string & channel() const
const ForceInstallImpl & data() const
const RepoDataImpl & data() const
TestcaseRepoType type() const
RWCOW_pointer< RepoDataImpl > _pimpl
const std::string & path() const
const std::string & alias() const
Arch architecture() const
const std::vector< RepoData > & repos() const
bool applySetup(zypp::RepoManager &manager) const
ResolverFocus resolverFocus() const
bool onlyRequires() const
const target::Modalias::ModaliasList & modaliasList() const
bool noUpdateProvide() const
const std::vector< ForceInstall > & forceInstallTasks() const
const std::optional< RepoData > & systemRepo() const
const std::vector< std::vector< std::string > > & vendorLists() const
const std::set< std::string > & multiversionSpec() const
bool dupAllowVendorChange() const
RWCOW_pointer< TestcaseSetupImpl > _pimpl
bool allowNameChange() const
const sat::StringQueue & autoinstalled() const
bool allowDowngrade() const
static bool loadRepo(zypp::RepoManager &manager, const TestcaseSetup &setup, const RepoData &data)
const Pathname & systemCheck() const
std::pair< std::string, std::map< std::string, std::string > > LockEntry
lock/keep node data extracted from trial nodes and applied as pool setup.
TestcaseSetupImpl & data()
bool dupAllowNameChange() const
bool allowArchChange() const
bool cleandepsOnRemove() const
bool show_mediaid() const
bool forceResolve() const
const Pathname & globalPath() const
const Pathname & hardwareInfoFile() const
bool ignorealreadyrecommended() const
bool allowVendorChange() const
const base::SetTracker< LocaleSet > & localesTracker() const
bool dupAllowArchChange() const
const std::vector< LockEntry > & locks() const
bool dupAllowDowngrade() const
std::vector< std::string > ModaliasList
ApplySetupFlag
Bits controlling how much of the testcase setup is applied.
@ AS_VENDOR_LISTS
VendorAttr vendor-equivalence lists.
@ AS_AUTOINSTALLED
setAutoInstalled
@ AS_SOLVER_FLAGS
Resolver flags, focus, DUP flags.
@ AS_MODALIAS
Modalias list.
@ AS_UNIVERSE
Package universe without solver opinions: repos, locales, autoinstalled, vendor lists,...
@ AS_LOCKS
lock/keep nodes extracted from trial nodes
@ AS_MULTIVERSION
ZConfig multiversion spec.
@ AS_LOCALES
initRequestedLocales + setRequestedLocales
@ AS_ALL
Apply everything (full fidelity replay).
@ AS_REPOS_ONLY
Only arch, repos, hardware-info (historic default).
Queue StringQueue
Queue with String ids.
Easy-to use interface to the ZYPP dependency resolver.
ResolverFocus
The resolver's general attitude.
RW_pointer supporting 'copy on write' functionality.
Track added/removed set items based on an initial set.