| CppUnit project page | FAQ | 
A single test object. More...
#include <TestLeaf.h>


| Public Member Functions | |
| int | countTestCases () const | 
| int | getChildTestCount () const | 
| Test * | doGetChildTestAt (int index) const | 
|  Public Member Functions inherited from Test | |
| virtual | ~Test () | 
| virtual void | run (TestResult *result)=0 | 
| Run the test, collecting results.  More... | |
| virtual Test * | getChildTestAt (int index) const | 
| Returns the child test of the specified index.  More... | |
| virtual std::string | getName () const =0 | 
| Returns the test name.  More... | |
| virtual bool | findTestPath (const std::string &testName, TestPath &testPath) const | 
| Finds the test with the specified name and its parents test.  More... | |
| virtual bool | findTestPath (const Test *test, TestPath &testPath) const | 
| Finds the specified test and its parents test.  More... | |
| virtual Test * | findTest (const std::string &testName) const | 
| Finds the test with the specified name in the hierarchy.  More... | |
| virtual TestPath | resolveTestPath (const std::string &testPath) const | 
| Resolved the specified test path with this test acting as 'root'.  More... | |
| Additional Inherited Members | |
|  Protected Member Functions inherited from Test | |
| virtual void | checkIsValidIndex (int index) const | 
A single test object.
Base class for single test case: a test that doesn't have any children.
| 
 | virtual | 
Returns 1 as the default number of test cases invoked by run().
You may override this method when many test cases are invoked (RepeatedTest for example).
Implements Test.
| 
 | virtual | 
| 
 | virtual | 
| Send comments to: CppUnit Developers |