A Composite of Tests.
More...
#include <TestComposite.h>
A Composite of Tests.
Base class for all test composites. Subclass this class if you need to implement a custom TestSuite.
- See also
- Test, TestSuite.
◆ TestComposite() [1/2]
◆ ~TestComposite()
TestComposite::~TestComposite |
( |
| ) |
|
◆ TestComposite() [2/2]
◆ countTestCases()
int TestComposite::countTestCases |
( |
| ) |
const |
|
virtual |
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.
◆ doEndSuite()
void TestComposite::doEndSuite |
( |
TestResult * |
controller | ) |
|
|
privatevirtual |
◆ doRunChildTests()
void TestComposite::doRunChildTests |
( |
TestResult * |
controller | ) |
|
|
privatevirtual |
◆ doStartSuite()
void TestComposite::doStartSuite |
( |
TestResult * |
controller | ) |
|
|
privatevirtual |
◆ getName()
std::string TestComposite::getName |
( |
| ) |
const |
|
virtual |
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.
◆ operator=()
◆ run()
◆ m_name
const std::string TestComposite::m_name |
|
private |
The documentation for this class was generated from the following files: