#include <Orthodox.h>
List of all members.
Public Member Functions |
| Orthodox () |
| TestCase (const std::string &name) |
| Constructs a test case.
|
| TestCase () |
| Constructs a test case for a suite.
|
| ~TestCase () |
| Destructs a test case.
|
virtual void | run (TestResult *result) |
| Run the test and catch any exceptions that are triggered by it.
|
std::string | getName () const |
| Returns the name of the test case.
|
int | countTestCases () const |
int | getChildTestCount () const |
Test * | doGetChildTestAt (int index) const |
virtual | ~Test () |
virtual Test * | getChildTestAt (int index) const |
| Returns the child test of the specified index.
|
virtual bool | findTestPath (const std::string &testName, TestPath &testPath) const |
| Finds the test with the specified name and its parents test.
|
virtual bool | findTestPath (const Test *test, TestPath &testPath) const |
| Finds the specified test and its parents test.
|
virtual Test * | findTest (const std::string &testName) const |
| Finds the test with the specified name in the hierarchy.
|
virtual TestPath | resolveTestPath (const std::string &testPath) const |
| Resolved the specified test path with this test acting as 'root'.
|
virtual | ~TestFixture () |
virtual void | setUp () |
| Set up context before running a test.
|
virtual void | tearDown () |
| Clean up after the test run.
|
Protected Member Functions |
ClassUnderTest | call (ClassUnderTest object) |
void | runTest () |
| FIXME: this should probably be pure virtual.
|
Constructor & Destructor Documentation
template<class ClassUnderTest >
Member Function Documentation
template<class ClassUnderTest >
ClassUnderTest Orthodox< ClassUnderTest >::call |
( |
ClassUnderTest |
object | ) |
|
|
protected |
template<class ClassUnderTest >
void Orthodox< ClassUnderTest >::runTest |
( |
| ) |
|
|
protectedvirtual |
FIXME: this should probably be pure virtual.
All the work for runTest is deferred to subclasses.
Reimplemented from TestCase.
The documentation for this class was generated from the following file: