History

Add hasProperty for checking whether a property exists

Dale Glass committed 3 years ago

Commit ac7ebe21 parent 5f2c13d6 files · +47 −5Browse files

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

Unified · Split

tests/script-engine/src/ScriptEngineTests.cpp+2−1
@@ -87,7 +87,8 @@ void ScriptEngineTests::scriptTest() { · 86 unmodified lines
8787 qInfo() << "Running test script: " << script;
8888 ac->loadOneScript(script);
8989 }*/
90− ac->loadOneScript("tests/script-engine/tests/003_vector_math.js");
90+ ac->loadOneScript("tests/003_vector_math.js");
91+ ac->loadOneScript("tests/004_require.js");
9192
9293 qDebug() << ac->getRunning();
9394