Add a test suite to the current test suite
| 77 | |
| 78 | // Add a test suite to the current test suite |
| 79 | void TestSuite::addTestSuite(const TestSuite& testSuite) { |
| 80 | |
| 81 | // Add each test of the test suite to the current one |
| 82 | for (size_t i =0; i < testSuite.mTests.size(); i++) { |
| 83 | assert(testSuite.mTests[i] != nullptr); |
| 84 | addTest(testSuite.mTests[i]); |
| 85 | } |
| 86 | } |
| 87 | |
| 88 | // Launch the tests of the test suite |
| 89 | void TestSuite::run() { |