CppUnit project page | FAQ | CppUnit home page |
#include <TestComposite.h>
Inheritance diagram for TestComposite:
Public Member Functions | |
TestComposite (const std::string &name="") | |
~TestComposite () | |
void | run (TestResult *result) |
Run the test, collecting results. | |
int | countTestCases () const |
Return the number of test cases invoked by run(). | |
std::string | getName () const |
Returns the test name. | |
Private Member Functions | |
TestComposite (const TestComposite &other) | |
TestComposite & | operator= (const TestComposite &other) |
virtual void | doStartSuite (TestResult *controller) |
virtual void | doRunChildTests (TestResult *controller) |
virtual void | doEndSuite (TestResult *controller) |
Private Attributes | |
const std::string | m_name |
Base class for all test composites. Subclass this class if you need to implement a custom TestSuite.
|
|
|
|
|
|
|
Return the number of test cases invoked by run(). The base unit of testing is the class TestCase. This method returns the number of TestCase objects invoked by the run() method. Implements Test. |
|
|
|
|
|
|
|
Returns the test name. Each test has a name. This name may be used to find the test in a suite or registry of tests. Implements Test. Reimplemented in TestRunner::WrappingSuite. |
|
|
|
Run the test, collecting results.
Implements Test. Reimplemented in TestRunner::WrappingSuite. |
|
|
hosts this site. |
Send comments to: CppUnit Developers |