Public Member Functions |
| int | countTestCases () const |
| int | getChildTestCount () const |
| Test * | doGetChildTestAt (int index) const |
| virtual | ~Test () |
| virtual void | run (TestResult *result)=0 |
| | Run the test, collecting results.
|
| virtual Test * | getChildTestAt (int index) const |
| | Returns the child test of the specified index.
|
| virtual std::string | getName () const =0 |
| | Returns the test name.
|
| 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'.
|
A single test object.
Base class for single test case: a test that doesn't have any children.