1#ifndef CPPUNIT_TESTRUNNER_H
2#define CPPUNIT_TESTRUNNER_H
95 const std::string &testPath =
"" );
#define CPPUNIT_API
Definition CppUnitApi.h:27
#define CPPUNIT_NS_END
Definition Portability.h:106
#define CPPUNIT_NS_BEGIN
Definition Portability.h:105
Base class for all test objects.
Definition Test.h:26
Manages TestListener.
Definition TestResult.h:48
(INTERNAL) Mutating test suite.
Definition TestRunner.h:101
std::string getName() const
Returns the test name.
Definition TestRunner.cpp:26
Test * doGetChildTestAt(int index) const
Returns the child test of the specified valid index.
Definition TestRunner.cpp:35
int getChildTestCount() const
Returns the number of direct child of the test.
Definition TestRunner.cpp:17
Test * getUniqueChildTest() const
Definition TestRunner.cpp:61
void run(TestResult *result)
Run the test, collecting results.
Definition TestRunner.cpp:44
WrappingSuite(const std::string &name="All Tests")
Definition TestRunner.cpp:10
bool hasOnlyOneTest() const
Definition TestRunner.cpp:54
virtual void run(TestResult &controller, const std::string &testPath="")
Runs a test using the specified controller.
Definition TestRunner.cpp:90
virtual void addTest(Test *test)
Adds the specified test.
Definition TestRunner.cpp:83
TestRunner(const TestRunner ©)
Prevents the use of the copy constructor.
TestRunner()
Constructs a TestRunner object.
Definition TestRunner.cpp:70
WrappingSuite * m_suite
Definition TestRunner.h:120
TestSuite(std::string name="")
Default constructor.
Definition TestSuite.cpp:9