|
| WrappingSuite (const std::string &name="All Tests") |
|
int | getChildTestCount () const |
| Returns the number of direct child of the test.
|
|
std::string | getName () const |
| Returns the test name.
|
|
void | run (TestResult *result) |
| Run the test, collecting results.
|
|
| TestSuite (std::string name="") |
| Default constructor.
|
|
| ~TestSuite () |
| Destructor.
|
|
void | addTest (Test *test) |
| Adds a test to the suite.
|
|
const std::vector< Test * > & | getTests () const |
|
virtual void | deleteContents () |
| Deletes all tests in the suite.
|
|
int | getChildTestCount () const |
| Returns the number of direct child of the test.
|
|
Test * | doGetChildTestAt (int index) const |
| Returns the child test of the specified valid index.
|
|
| 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.
|
|
virtual | ~Test () |
|
virtual void | run (TestResult *result)=0 |
| Run the test, collecting results.
|
|
virtual int | countTestCases () const =0 |
| Return the number of test cases invoked by run().
|
|
virtual int | getChildTestCount () const =0 |
| Returns the number of direct child of the test.
|
|
virtual Test * | getChildTestAt (int index) const |
| Returns the child test of the specified index.
|
|
virtual std::string | getName () const =0 |
| Returns the test name.
|
|
virtual bool | findTestPath (const std::string &testName, TestPath &testPath) const |
| Finds the test with the specified name and its parents test.
|
|
virtual bool | findTestPath (const Test *test, TestPath &testPath) const |
| Finds the specified test and its parents test.
|
|
virtual Test * | findTest (const std::string &testName) const |
| Finds the test with the specified name in the hierarchy.
|
|
virtual TestPath | resolveTestPath (const std::string &testPath) const |
| Resolved the specified test path with this test acting as 'root'.
|
|
(INTERNAL) Mutating test suite.