14 #ifndef TESTMANAGER_INCLUDED
15 #define TESTMANAGER_INCLUDED
59 void batch(
const std::string& arg);
97 Node(
const std::string& name,
Node *
const prev = 0)
101 for (
size_t i = 0; i <
m_next.size(); ++i) {
delete m_next[i]; }
105 Node *
find_node(Node *p,
const std::vector<std::string>& v);
106 Node *
append_key(Node *p,
const std::vector<std::string>& v);
107 Node *
append_key(Node *p,
int argc,
char **argv);
135 bool menu(
const Node *p,
const bool is_top =
false);
143 void traverse(
const Node *p,
const std::string& indent =
"");
156 #endif // TEST_MANAGER_H
TestManager class for managing and performing tests.
Node(const std::string &name, Node *const prev=0)
bool menu(const Node *p, const bool is_top=false)
void success(const std::string &test_name)
const std::string test_name
static void CreateInstance()
void run_traversal(const Node *p)
void failure(const std::string &test_name)
void batch_recursive(const std::string &arg="")
std::string find_fullpath(const Node *p, const std::string &path="")
void list_traverse(const Node *p, const std::string &prefix)
void skip(const std::string &test_name)
int(* Test_function)(void)
void interactive_master()
void traverse(const Node *p, const std::string &indent="")
std::vector< std::string > m_list_skip
TestManager & operator=(const TestManager &)
Bridge::VerboseLevel m_vl
static bool RegisterTest(const std::string &key, const Test_function func)
int getCheckPrecision() const
std::vector< std::string > m_list_failure
static TestManager & Instance()
static TestManager * s_instance
Node * find_node(Node *p, const std::vector< std::string > &v)
bool registerTest(const std::string &key, const Test_function func)
std::vector< Node * > m_next
static const std::string class_name
Node * append_key(Node *p, const std::vector< std::string > &v)
void batch(const std::string &arg)