History

Fixed adding properties to methods

ksuprynowicz committed 3 years ago

Commit 386242d1 parent 076349a5 files · +80 −7Browse files

Showing the changes to tests/script-engine/src/ScriptEngineTests.cpp (1 of 5 files). Show all

Unified · Split

tests/script-engine/src/ScriptEngineTests.cpp+2−2
@@ -87,7 +87,7 @@ void ScriptEngineTests::scriptTest() { · 86 unmodified lines
8787 qInfo() << "Running test script: " << script;
8888 ac->loadOneScript(script);
8989 }*/
90− ac->loadOneScript("tests/003_vector_math.js");
90+ //ac->loadOneScript("tests/003_vector_math.js");
9191 ac->loadOneScript("tests/004_require.js");
9292
9393 qDebug() << ac->getRunning();
@@ -95,7 +95,7 @@ void ScriptEngineTests::scriptTest() { · 1 unmodified line
9595 // TODO: if I don't have infinite loop here, it exits before scripts finish. It also reports: QSignalSpy: No such signal: 'scriptCountChanged'
9696 for (int n = 0; n > -1; n++) {
9797 QSignalSpy spy(ac.get(), SIGNAL(scriptCountChanged));
98− spy.wait(1000);
98+ spy.wait(100000);
9999 qDebug() << "Signal happened";
100100 }
101101 //spy.wait(5000);