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

Method startAutoTest

tests/cpp-tests/Source/controller.cpp:164–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162}
163
164void TestController::startAutoTest()
165{
166 if (_stopAutoTest)
167 {
168 _stopAutoTest = false;
169 _logIndentation = "";
170
171 _autoTestRunner = Node::create();
172 _director->setNotificationNode(_autoTestRunner);
173
174 auto action = ActionCoroutine::create(std::bind(&TestController::traverseTestList, this, _rootTestList));
175
176 _autoTestRunner->runAction(action);
177 }
178}
179
180void TestController::stopAutoTest()
181{

Callers 2

runThisTestMethod · 0.80

Calls 3

createFunction · 0.85
setNotificationNodeMethod · 0.80
runActionMethod · 0.45

Tested by 1

runThisTestMethod · 0.64