CPUnit 0.7 (beta)
The REAL C++ port of JUnit.
|
#include <unittest_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 unittest_TestTreeNode.hpp.
typedef std::map<std::string, TestTreeNode*> unittest::TestTreeNode::ChildMap [private] |
Definition at line 50 of file unittest_TestTreeNode.hpp.
typedef std::map<std::string, Callable*> unittest::TestTreeNode::TestMap [private] |
Definition at line 49 of file unittest_TestTreeNode.hpp.
unittest::TestTreeNode::TestTreeNode | ( | const std::string | loc_name | ) |
Definition at line 40 of file unittest_TestTreeNode.cpp.
unittest::TestTreeNode::~TestTreeNode | ( | ) | [virtual] |
Definition at line 52 of file unittest_TestTreeNode.cpp.
void unittest::TestTreeNode::add_child | ( | TestTreeNode * | child | ) |
Definition at line 114 of file unittest_TestTreeNode.cpp.
void unittest::TestTreeNode::add_test | ( | Callable * | test | ) |
Definition at line 104 of file unittest_TestTreeNode.cpp.
void unittest::TestTreeNode::extract_matches | ( | std::vector< TestUnit > & | result, |
const GlobMatcher & | m | ||
) |
Definition at line 129 of file unittest_TestTreeNode.cpp.
std::map< std::string, unittest::TestTreeNode * > unittest::TestTreeNode::get_children | ( | ) |
Definition at line 124 of file unittest_TestTreeNode.cpp.
std::string unittest::TestTreeNode::get_local_name | ( | ) | const |
Definition at line 77 of file unittest_TestTreeNode.cpp.
std::string unittest::TestTreeNode::get_path | ( | ) | const |
Definition at line 67 of file unittest_TestTreeNode.cpp.
void unittest::TestTreeNode::register_set_up | ( | Callable * | s | ) |
Definition at line 82 of file unittest_TestTreeNode.cpp.
void unittest::TestTreeNode::register_tear_down | ( | Callable * | t | ) |
Definition at line 93 of file unittest_TestTreeNode.cpp.
ChildMap unittest::TestTreeNode::children [private] |
Definition at line 53 of file unittest_TestTreeNode.hpp.
const StringFlyweightStoreUsage unittest::TestTreeNode::counter [private] |
Definition at line 57 of file unittest_TestTreeNode.hpp.
const std::string* unittest::TestTreeNode::local_name [private] |
Definition at line 56 of file unittest_TestTreeNode.hpp.
TestTreeNode const* unittest::TestTreeNode::parent [private] |
Definition at line 55 of file unittest_TestTreeNode.hpp.
Callable* unittest::TestTreeNode::setUp [private] |
Definition at line 54 of file unittest_TestTreeNode.hpp.
Callable * unittest::TestTreeNode::tearDown [private] |
Definition at line 54 of file unittest_TestTreeNode.hpp.
TestMap unittest::TestTreeNode::tests [private] |
Definition at line 52 of file unittest_TestTreeNode.hpp.