|
FreeNOS
|
Maintains a list of test instances. More...
#include <TestSuite.h>
Public Member Functions | |
| TestSuite () | |
| Class constructor. More... | |
| void | addTest (TestInstance *test) |
| Add a test. More... | |
| List< TestInstance * > * | getTests () |
| Retrieve a list of all tests. More... | |
Private Attributes | |
| List< TestInstance * > | m_tests |
| List of TestInstances in the suite. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from StrictSingleton< TestSuite > | |
| static TestSuite * | instance () |
| Retrieve the instance. More... | |
Maintains a list of test instances.
Definition at line 37 of file TestSuite.h.
| TestSuite::TestSuite | ( | ) |
Class constructor.
Definition at line 22 of file TestSuite.cpp.
| void TestSuite::addTest | ( | TestInstance * | test | ) |
Add a test.
| test | TestInstance to add |
Definition at line 27 of file TestSuite.cpp.
References List< T >::append(), and m_tests.
Referenced by TestInstance::TestInstance().
| List< TestInstance * > * TestSuite::getTests | ( | ) |
Retrieve a list of all tests.
Definition at line 32 of file TestSuite.cpp.
References m_tests.
Referenced by TestRunner::run().
|
private |
List of TestInstances in the suite.
Definition at line 63 of file TestSuite.h.
Referenced by addTest(), and getTests().
1.8.17