CppUnit project page | FAQ | CppUnit home page |
A single test object. More...
#include <TestLeaf.h>
Public Member Functions | |
int | countTestCases () const |
int | getChildTestCount () const |
Test * | doGetChildTestAt (int index) const |
A single test object.
Base class for single test case: a test that doesn't have any children.
CPPUNIT_NS_BEGIN int TestLeaf::countTestCases | ( | ) | const [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.
Test * TestLeaf::doGetChildTestAt | ( | int | index | ) | const [virtual] |
int TestLeaf::getChildTestCount | ( | ) | const [virtual] |
|
hosts this site. |
Send comments to: CppUnit Developers |