| 329 | } |
| 330 | |
| 331 | void TestSuite::restartCurrTest() |
| 332 | { |
| 333 | auto scene = _testCallbacks[_currTestIndex](); |
| 334 | auto testCase = getTestCase(scene); |
| 335 | testCase->setTestSuite(this); |
| 336 | testCase->setTestCaseName(_childTestNames[_currTestIndex]); |
| 337 | |
| 338 | Director::getInstance()->replaceScene(scene); |
| 339 | } |
| 340 | |
| 341 | void TestSuite::enterNextTest() |
| 342 | { |
no test coverage detected