Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members
CppUnit::TestRegistry Class Reference
This class is used to register tests and testcases.
More...
#include <TestRegistry.h>
List of all members.
Detailed Description
This class is used to register tests and testcases.
It implements a registry to place the test cases into. The test cases can then register themselves. All TestCallers and those TestCases that are constructed register themselve automatically.
Constructor & Destructor Documentation
CppUnit::TestRegistry::~TestRegistry |
( |
|
) |
|
|
CppUnit::TestRegistry::TestRegistry |
( |
|
) |
[private] |
|
Member Function Documentation
void CppUnit::TestRegistry::addTest |
( |
std::string |
name, |
|
|
Test * |
test |
|
) |
|
|
const std::vector< std::string > & CppUnit::TestRegistry::getAllTestNames |
( |
|
) |
const |
|
const std::vector< Test *> & CppUnit::TestRegistry::getAllTests |
( |
|
) |
const |
|
TestRegistry & CppUnit::TestRegistry::getRegistry |
( |
|
) |
[static] |
|
std::vector< Test *> CppUnit::TestRegistry::getTest |
( |
const std::string & |
testCase |
) |
const |
|
Member Data Documentation
std::vector<std::string> CppUnit::TestRegistry::m_registry_names [private]
|
|
std::vector<Test*> CppUnit::TestRegistry::m_registry_tests [private]
|
|
The documentation for this class was generated from the following files: