CPUnit 0.7 (beta)
The REAL C++ port of JUnit.
|
#include <unittest_TestStore.hpp>
Public Member Functions | |
void | insert_set_up (Callable *su) |
void | insert_tear_down (Callable *td) |
void | insert_test (Callable *test) |
std::vector< TestUnit > | get_test_units (const std::string pattern) |
std::vector< RegInfo > | get_tests (const std::string pattern) |
Static Public Member Functions | |
static TestStore & | get_instance () |
static void | dispose () |
Private Member Functions | |
TestStore () | |
~TestStore () | |
std::vector< std::string > | decompose_path (const std::string &path) const |
TestTreeNode * | find_node (const std::string &path, const bool create_nonexisting) |
Private Attributes | |
std::auto_ptr< TestTreeNode > | root |
Static Private Attributes | |
static TestStore * | INSTANCE |
Definition at line 47 of file unittest_TestStore.hpp.
unittest::TestStore::TestStore | ( | ) | [private] |
Definition at line 40 of file unittest_TestStore.cpp.
unittest::TestStore::~TestStore | ( | ) | [private] |
Definition at line 44 of file unittest_TestStore.cpp.
std::vector< std::string > unittest::TestStore::decompose_path | ( | const std::string & | path | ) | const [private] |
Definition at line 103 of file unittest_TestStore.cpp.
void unittest::TestStore::dispose | ( | ) | [static] |
Definition at line 48 of file unittest_TestStore.cpp.
unittest::TestTreeNode * unittest::TestStore::find_node | ( | const std::string & | path, |
const bool | create_nonexisting | ||
) | [private] |
Definition at line 125 of file unittest_TestStore.cpp.
unittest::TestStore & unittest::TestStore::get_instance | ( | ) | [static] |
Definition at line 56 of file unittest_TestStore.cpp.
std::vector< unittest::TestUnit > unittest::TestStore::get_test_units | ( | const std::string | pattern | ) |
Definition at line 85 of file unittest_TestStore.cpp.
std::vector< unittest::RegInfo > unittest::TestStore::get_tests | ( | const std::string | pattern | ) |
Definition at line 93 of file unittest_TestStore.cpp.
void unittest::TestStore::insert_set_up | ( | Callable * | su | ) |
Definition at line 64 of file unittest_TestStore.cpp.
void unittest::TestStore::insert_tear_down | ( | Callable * | td | ) |
Definition at line 71 of file unittest_TestStore.cpp.
void unittest::TestStore::insert_test | ( | Callable * | test | ) |
Definition at line 78 of file unittest_TestStore.cpp.
unittest::TestStore * unittest::TestStore::INSTANCE [static, private] |
Definition at line 48 of file unittest_TestStore.hpp.
std::auto_ptr<TestTreeNode> unittest::TestStore::root [private] |
Definition at line 52 of file unittest_TestStore.hpp.