#include <TestSuite.h>
Inheritance diagram for TestSuite:
List of all members.
It runs a collection of test cases. Here is an example.
CppUnit::TestSuite *suite= new CppUnit::TestSuite(); suite->addTest(new CppUnit::TestCaller<MathTest> ( "testAdd", testAdd)); suite->addTest(new CppUnit::TestCaller<MathTest> ( "testDivideByZero", testDivideByZero));
TestSuites do not register themselves in the TestRegistry.
""
)
Default constructor.
Constructs a test suite with the specified name.
Destructor.
Adds a test to the suite.
Adds the specified test to the suite.
NULL
.
[virtual]
Deletes all tests in the suite.
Destroys all the tests of the suite.
[virtual]
Returns the child test of the specified valid index.
NULL
. Implements Test.
Reimplemented in TestRunner::WrappingSuite.
[virtual]
Returns the number of direct child of the test.
Implements Test.
Reimplemented in TestRunner::WrappingSuite.
Returns the list of the tests (DEPRECATED).