CPUnit 0.95 (beta)
The REAL C++ port of JUnit.
|
#include <cpunit_TestTreeNode.hpp>
Public Member Functions | |
TestTreeNode (const std::string &loc_name) | |
virtual | ~TestTreeNode () |
std::string | get_local_name () const |
std::string | get_path () const |
void | register_set_up (Callable *s) |
void | register_tear_down (Callable *t) |
void | add_test (Callable *test) |
void | add_child (TestTreeNode *child) |
std::map< std::string, TestTreeNode * > | get_children () |
void | extract_matches (std::vector< TestUnit > &result, const GlobMatcher &m) |
Private Types | |
typedef std::map< std::string, Callable * > | TestMap |
typedef std::map< std::string, TestTreeNode * > | ChildMap |
Private Attributes | |
TestMap | tests |
ChildMap | children |
Callable * | setUp |
Callable * | tearDown |
TestTreeNode const * | parent |
const std::string * | local_name |
const StringFlyweightStoreUsage | counter |
Definition at line 47 of file cpunit_TestTreeNode.hpp.
typedef std::map<std::string, TestTreeNode*> cpunit::TestTreeNode::ChildMap [private] |
Definition at line 50 of file cpunit_TestTreeNode.hpp.
typedef std::map<std::string, Callable*> cpunit::TestTreeNode::TestMap [private] |
Definition at line 49 of file cpunit_TestTreeNode.hpp.
cpunit::TestTreeNode::TestTreeNode | ( | const std::string & | loc_name | ) |
Definition at line 40 of file cpunit_TestTreeNode.cpp.
cpunit::TestTreeNode::~TestTreeNode | ( | ) | [virtual] |
Definition at line 52 of file cpunit_TestTreeNode.cpp.
void cpunit::TestTreeNode::add_child | ( | TestTreeNode * | child | ) |
Definition at line 120 of file cpunit_TestTreeNode.cpp.
void cpunit::TestTreeNode::add_test | ( | Callable * | test | ) |
Definition at line 109 of file cpunit_TestTreeNode.cpp.
void cpunit::TestTreeNode::extract_matches | ( | std::vector< TestUnit > & | result, |
const GlobMatcher & | m | ||
) |
Definition at line 136 of file cpunit_TestTreeNode.cpp.
std::map< std::string, cpunit::TestTreeNode * > cpunit::TestTreeNode::get_children | ( | ) |
Definition at line 131 of file cpunit_TestTreeNode.cpp.
std::string cpunit::TestTreeNode::get_local_name | ( | ) | const |
Definition at line 80 of file cpunit_TestTreeNode.cpp.
std::string cpunit::TestTreeNode::get_path | ( | ) | const |
Definition at line 70 of file cpunit_TestTreeNode.cpp.
void cpunit::TestTreeNode::register_set_up | ( | Callable * | s | ) |
Definition at line 85 of file cpunit_TestTreeNode.cpp.
void cpunit::TestTreeNode::register_tear_down | ( | Callable * | t | ) |
Definition at line 97 of file cpunit_TestTreeNode.cpp.
ChildMap cpunit::TestTreeNode::children [private] |
Definition at line 53 of file cpunit_TestTreeNode.hpp.
const StringFlyweightStoreUsage cpunit::TestTreeNode::counter [private] |
Definition at line 57 of file cpunit_TestTreeNode.hpp.
const std::string* cpunit::TestTreeNode::local_name [private] |
Definition at line 56 of file cpunit_TestTreeNode.hpp.
TestTreeNode const* cpunit::TestTreeNode::parent [private] |
Definition at line 55 of file cpunit_TestTreeNode.hpp.
Callable* cpunit::TestTreeNode::setUp [private] |
Definition at line 54 of file cpunit_TestTreeNode.hpp.
Callable * cpunit::TestTreeNode::tearDown [private] |
Definition at line 54 of file cpunit_TestTreeNode.hpp.
TestMap cpunit::TestTreeNode::tests [private] |
Definition at line 52 of file cpunit_TestTreeNode.hpp.