12#ifndef ZYPP_MISC_LOADTESTCASE_H
13#define ZYPP_MISC_LOADTESTCASE_H
15#include <zypp/Pathname.h>
17#include <zypp/base/PtrTypes.h>
18#include <zypp/base/NonCopyable.h>
33 const std::string &
name ()
const;
35 const std::string &
value ()
const;
36 std::string &
value ();
38 const std::string &
getProp(
const std::string &
name,
const std::string &def = std::string() )
const;
39 const std::map<std::string, std::string> &
properties()
const;
40 std::map<std::string, std::string> &
properties();
41 const std::vector<std::shared_ptr<Node>> &
children()
const;
42 std::vector<std::shared_ptr<Node>> &
children();
51 const std::vector<Node> &
nodes ()
const;
52 std::vector<Node> &
nodes ();
const TestcaseSetup & setupInfo() const
const TestcaseTrials & trialInfo() const
std::unique_ptr< Impl > _pimpl
static Type testcaseTypeAt(const zypp::Pathname &path)
bool loadTestcaseAt(const zypp::Pathname &path, std::string *err)
std::vector< TestcaseTrial > TestcaseTrials
boost::noncopyable NonCopyable
Ensure derived classes cannot be copied.
RW_pointer supporting 'copy on write' functionality.
const std::vector< std::shared_ptr< Node > > & children() const
const std::string & name() const
const std::string & getProp(const std::string &name, const std::string &def=std::string()) const
const std::map< std::string, std::string > & properties() const
RWCOW_pointer< Impl > _pimpl
const std::string & value() const
const std::vector< Node > & nodes() const
RWCOW_pointer< Impl > _pimpl