#include <Assertion.hpp>
TestSet contains all the tests to run.
Definition at line 224 of file Assertion.hpp.
Public Types | |
| typedef TestSet *(* | TestSetFactory )() |
| Method signature for test set factory methods. | |
Public Member Functions | |
| TestSet (string name) | |
Constructs a TestSet with the given name. | |
| ~TestSet () | |
| destructor | |
| void | run (TestReport &report) |
Runs all the tests reporting the test activity to the given TestReport. | |
| bool | hasSolo () |
Returns true if at least one test in this set is marked as solo. | |
Static Public Member Functions | |
| static void | runAll (TestReport &report) |
Runs all the tests of all the TestSet object. | |
| static void | run (vector< string > testCases, TestReport &report) |
Runs all the tests of the TestSet identified by the given test cases names. | |
Public Attributes | |
| string | name |
the name of this TestSet | |
| SetupMethod | globalSetUp |
| reference to the global setup method | |
| TeardownMethod | globalTearDown |
| reference to the global tear down method | |
| list< bool > | solo |
| list of solo flags for the tests | |
| list< bool > | muted |
| list of mute flags for the tests | |
| list< string > | names |
| list of test names | |
| list< TestFactory > | tests |
| list of test factories | |
Protected Member Functions | |
| void | execute (TestReport &report, string testName, list< TestFactory >::iterator &i) |
| Starts executing all the tests of this set. | |
Classes | |
| class | Chain |
All the TestSet objects are chained using Chain objects. More... | |
|
|
Constructs a
Definition at line 195 of file Assertion.cpp. References globalSetUp, and globalTearDown. |
|
|
Returns
Definition at line 255 of file Assertion.cpp. References solo. Referenced by unittest::TestSet::Chain::run(). |
|
||||||||||||
|
Runs all the tests of the
Definition at line 277 of file Assertion.cpp. References unittest::TestSet::Chain::factory, name, names, unittest::TestSet::Chain::next, and run(). |
|
|
Runs all the tests reporting the test activity to the given
Definition at line 209 of file Assertion.cpp. References execute(), globalSetUp, names, solo, and tests. Referenced by run(). |
|
|
Runs all the tests of all the
Definition at line 271 of file Assertion.cpp. References unittest::TestSet::Chain::run(). |
1.4.6-NO