CppUnit project page | FAQ | CppUnit home page |
#include <TestLeaf.h>
Inheritance diagram for TestLeaf:
Public Member Functions | |
int | countTestCases () const |
int | getChildTestCount () const |
Test * | doGetChildTestAt (int index) const |
Base class for single test case: a test that doesn't have any children.
|
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. |
|
Always throws std::out_of_range.
Implements Test. |
|
Returns the number of child of this test case: 0. You should never override this method: a TestLeaf as no children by definition.
Implements Test. |
hosts this site. |
Send comments to: CppUnit Developers |