Manak
2.0.0
|
Public Member Functions | |
ManakSuite () | |
ManakSuite (const std::string &name) | |
MANAK_INLINE | ~ManakSuite () |
MANAK_INLINE ManakCase * | AddCase (ManakCase *obj) |
template<typename T , typename... Args> | |
bool | AddGroup (Args...args) |
ManakSuite * | AddSuite (ManakSuite *suite) |
MANAK_INLINE bool | Find (const std::string &name, std::list< ManakCase * > &lbc) |
ManakSuite * | GetCurrentSuite () const |
MANAK_INLINE bool | LoadData (const std::string &name) |
const std::string & | Name () const |
std::string & | Name () |
MANAK_INLINE bool | Run (const std::string &uname="", const std::string &pattern="", const bool compare=false) |
ManakSuite * | SetCurrentSuite (ManakSuite *suite) |
MANAK_INLINE ManakSuite * | SetCurrentSuite (const std::string &name) |
ManakSuite * | SetCurrentSuiteToParent () |
const std::string & | UName () const |
std::string & | UName () |
Static Public Member Functions | |
static ManakSuite & | GetMasterSuite () |
Private Attributes | |
std::map< std::string, ManakSuite * > | child_suits |
std::map< std::string, std::list< ManakCase * > > | children |
ManakSuite * | current_manak_suite |
std::string | name |
ManakSuite * | parent |
std::string | uname |
Definition at line 19 of file manak_suite.hpp.
|
inline |
Definition at line 22 of file manak_suite.hpp.
|
inline |
Definition at line 26 of file manak_suite.hpp.
MANAK_INLINE manak::ManakSuite::~ManakSuite | ( | ) |
MANAK_INLINE ManakCase* manak::ManakSuite::AddCase | ( | ManakCase * | obj | ) |
Referenced by AddGroup().
|
inline |
Definition at line 74 of file manak_suite.hpp.
References AddCase().
|
inline |
Definition at line 47 of file manak_suite.hpp.
References child_suits, Name(), and parent.
MANAK_INLINE bool manak::ManakSuite::Find | ( | const std::string & | name, |
std::list< ManakCase * > & | lbc | ||
) |
|
inline |
Definition at line 54 of file manak_suite.hpp.
References current_manak_suite.
|
inlinestatic |
Definition at line 41 of file manak_suite.hpp.
Referenced by manak::DeRegisterManakSuite::DeRegisterManakSuite(), and manak::RegisterManakSuite::RegisterManakSuite().
MANAK_INLINE bool manak::ManakSuite::LoadData | ( | const std::string & | name | ) |
|
inline |
|
inline |
Definition at line 91 of file manak_suite.hpp.
References name.
MANAK_INLINE bool manak::ManakSuite::Run | ( | const std::string & | uname = "" , |
const std::string & | pattern = "" , |
||
const bool | compare = false |
||
) |
|
inline |
Definition at line 59 of file manak_suite.hpp.
References current_manak_suite.
Referenced by manak::RegisterManakSuite::RegisterManakSuite().
MANAK_INLINE ManakSuite* manak::ManakSuite::SetCurrentSuite | ( | const std::string & | name | ) |
|
inline |
Definition at line 66 of file manak_suite.hpp.
References current_manak_suite, and parent.
Referenced by manak::DeRegisterManakSuite::DeRegisterManakSuite().
|
inline |
Definition at line 95 of file manak_suite.hpp.
References uname.
|
inline |
Definition at line 99 of file manak_suite.hpp.
References uname.
|
private |
Definition at line 109 of file manak_suite.hpp.
Referenced by AddSuite().
|
private |
Definition at line 108 of file manak_suite.hpp.
|
private |
Definition at line 111 of file manak_suite.hpp.
Referenced by GetCurrentSuite(), SetCurrentSuite(), and SetCurrentSuiteToParent().
|
private |
Definition at line 105 of file manak_suite.hpp.
Referenced by Name().
|
private |
Definition at line 112 of file manak_suite.hpp.
Referenced by AddSuite(), and SetCurrentSuiteToParent().
|
private |
Definition at line 106 of file manak_suite.hpp.
Referenced by UName().