Reset the test suite
| 100 | |
| 101 | // Reset the test suite |
| 102 | void TestSuite::reset() { |
| 103 | for(size_t i=0; i < mTests.size(); ++i) { |
| 104 | assert(mTests[i]); |
| 105 | mTests[i]->reset(); |
| 106 | } |
| 107 | } |
| 108 | |
| 109 | // Display the tests report and return the number of failed tests |
| 110 | long TestSuite::report() const { |