|
torc-master
|
Test suite visitor to disable regression tests. More...
Inheritance diagram for RegressionFilter:
Collaboration diagram for RegressionFilter:Public Member Functions | |
| virtual | ~RegressionFilter (void) |
| Removes all test suites marked for pruning. More... | |
| virtual string | getFullyQualifiedPath (void) |
| Returns the current fully qualified test suite path. More... | |
| virtual string | getFullyQualifiedName (const boost::unit_test::test_case &inTestCase) |
| Returns a fully qualified name for the given test case. More... | |
| virtual void | useTest (const boost::unit_test::test_case &inTestCase) |
| Flags the given test case and its parents as being used. More... | |
| virtual void | visit (const boost::unit_test::test_case &inTestCase) |
| Determines whether or not to include the given test case. More... | |
| virtual bool | test_suite_start (const boost::unit_test::test_suite &inTestSuite) |
| Enters a new test suite. More... | |
| virtual void | test_suite_finish (const boost::unit_test::test_suite &inTestSuite) |
| Exits a test suite and prunes it if no test cases remain in it. More... | |
Private Types | |
| typedef boost::unit_test::test_suite | test_suite |
| Imported type. More... | |
| typedef std::string | string |
| Imported type. More... | |
Private Attributes | |
| std::vector< const test_suite * > | mTestSuiteVector |
| Vector of test suite pointers. More... | |
| std::vector< bool > | mTestSuiteUsed |
| Vector of test suite usage flags. More... | |
| std::vector < boost::unit_test::test_unit_id > | mTestSuitePruningIDs |
| Vector of test suites to remove. More... | |
Test suite visitor to disable regression tests.
Definition at line 30 of file UnitTestMain.cpp.
|
private |
Imported type.
Definition at line 33 of file UnitTestMain.cpp.
|
private |
Imported type.
Definition at line 32 of file UnitTestMain.cpp.
|
inlinevirtual |
Removes all test suites marked for pruning.
Definition at line 43 of file UnitTestMain.cpp.
|
inlinevirtual |
Returns a fully qualified name for the given test case.
Definition at line 58 of file UnitTestMain.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinevirtual |
Returns the current fully qualified test suite path.
Definition at line 49 of file UnitTestMain.cpp.
Here is the caller graph for this function:
|
inlinevirtual |
Exits a test suite and prunes it if no test cases remain in it.
Definition at line 89 of file UnitTestMain.cpp.
Here is the call graph for this function:
|
inlinevirtual |
Enters a new test suite.
Definition at line 81 of file UnitTestMain.cpp.
|
inlinevirtual |
Flags the given test case and its parents as being used.
Definition at line 63 of file UnitTestMain.cpp.
Here is the caller graph for this function:
|
inlinevirtual |
Determines whether or not to include the given test case.
Definition at line 68 of file UnitTestMain.cpp.
Here is the call graph for this function:
|
private |
Vector of test suites to remove.
Definition at line 40 of file UnitTestMain.cpp.
|
private |
Vector of test suite usage flags.
Definition at line 38 of file UnitTestMain.cpp.
|
private |
Vector of test suite pointers.
Definition at line 36 of file UnitTestMain.cpp.