TESTBED: Correctly reset the number of skipped tests

This commit is contained in:
Cameron Cawley 2019-07-01 22:49:42 +01:00
parent bfcd59571e
commit 05511e17ec

View file

@ -92,6 +92,7 @@ Testsuite::~Testsuite() {
void Testsuite::reset() { void Testsuite::reset() {
_numTestsPassed = 0; _numTestsPassed = 0;
_numTestsExecuted = 0; _numTestsExecuted = 0;
_numTestsSkipped = 0;
_toQuit = kLoopNormal; _toQuit = kLoopNormal;
for (Common::Array<Test *>::iterator i = _testsToExecute.begin(); i != _testsToExecute.end(); ++i) { for (Common::Array<Test *>::iterator i = _testsToExecute.begin(); i != _testsToExecute.end(); ++i) {
(*i)->passed = false; (*i)->passed = false;