MCPcopy Create free account
hub / github.com/axmolengine/axmol / restartCurrTest

Method restartCurrTest

tests/cpp-tests/Source/BaseTest.cpp:331–339  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

329}
330
331void 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
341void TestSuite::enterNextTest()
342{

Callers 6

restartTestCallbackMethod · 0.80
resetMethod · 0.80
onEnterMethod · 0.80
Issue4129Method · 0.80
createResetButtonMethod · 0.80
resetMethod · 0.80

Calls 5

getTestCaseFunction · 0.85
getInstanceFunction · 0.85
setTestSuiteMethod · 0.80
setTestCaseNameMethod · 0.80
replaceSceneMethod · 0.80

Tested by

no test coverage detected