1 #ifndef CPPUNIT_TESTRUNNER_H 2 #define CPPUNIT_TESTRUNNER_H 85 virtual void addTest(
Test *test );
95 const std::string &testPath =
"" );
114 bool hasOnlyOneTest()
const;
116 Test *getUniqueChildTest()
const;
135 #endif // CPPUNIT_TESTRUNNER_H (INTERNAL) Mutating test suite.
Definition: cppunit/TestRunner.h:100
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
TestComposite & operator=(const TestComposite &other)
int getChildTestCount() const
Returns the number of direct child of the test.
Definition: TestSuite.cpp:50
WrappingSuite * m_suite
Definition: cppunit/TestRunner.h:120
Base class for all test objects.All test objects should be a subclass of Test. Some test objects...
Definition: Test.h:25
void run(TestResult *result)
Run the test, collecting results.
Definition: TestComposite.cpp:20
Generic test runner.The TestRunner assumes ownership of all added tests: you can not add test or suit...
Definition: cppunit/TestRunner.h:72
std::string getName() const
Returns the test name.
Definition: TestComposite.cpp:42
#define CPPUNIT_NS_END
Definition: Portability.h:120
#define CPPUNIT_NS_BEGIN
Definition: Portability.h:119
Test * doGetChildTestAt(int index) const
Returns the child test of the specified valid index.
Definition: TestSuite.cpp:57
CPPUNIT_NS::MfcTestRunner TestRunner
MFC test runner (DEPRECATED)
Definition: msvc6/testrunner/TestRunner.h:15
A Composite of Tests.It runs a collection of test cases. Here is an example.
Definition: TestSuite.h:40
#define CPPUNIT_API
Definition: CppUnitApi.h:27