40 virtual int countTestCases ()
const =0;
44 virtual int getChildTestCount()
const =0;
57 virtual Test *getChildTestAt(
int index )
const;
64 virtual std::string getName ()
const =0;
72 virtual bool findTestPath(
const std::string &testName,
81 virtual bool findTestPath(
const Test *test,
89 virtual Test *findTest(
const std::string &testName )
const;
97 virtual TestPath resolveTestPath(
const std::string &testPath )
const;
104 virtual void checkIsValidIndex(
int index )
const;
110 virtual Test *doGetChildTestAt(
int index )
const =0;
116 #endif // CPPUNIT_TEST_H
Manages TestListener.A single instance of this class is used when running the test. It is usually created by the test runner (TestRunner).
Definition: TestResult.h:51
Base class for all test objects.All test objects should be a subclass of Test. Some test objects...
Definition: Test.h:25
#define CPPUNIT_NS_END
Definition: Portability.h:120
#define CPPUNIT_NS_BEGIN
Definition: Portability.h:119
A List of Test representing a path to access a Test.The path can be converted to a string and resolve...
Definition: TestPath.h:34
virtual ~Test()
Definition: Test.h:28
#define CPPUNIT_API
Definition: CppUnitApi.h:27