diff options
Diffstat (limited to 'tests/auto/qscriptengine')
-rw-r--r-- | tests/auto/qscriptengine/tst_qscriptengine.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/auto/qscriptengine/tst_qscriptengine.cpp b/tests/auto/qscriptengine/tst_qscriptengine.cpp index 25e84dc..ec84406 100644 --- a/tests/auto/qscriptengine/tst_qscriptengine.cpp +++ b/tests/auto/qscriptengine/tst_qscriptengine.cpp @@ -832,7 +832,6 @@ void tst_QScriptEngine::newQMetaObject() QScriptValue ret = qclass3.construct(); QVERIFY(ret.isObject()); QVERIFY(ret.property("isCalledAsConstructor").isBoolean()); - QEXPECT_FAIL("", "isCalledAsConstructor not yet implemented for script function", Continue); QVERIFY(ret.property("isCalledAsConstructor").toBoolean()); QVERIFY(ret.instanceOf(qclass3)); } @@ -843,8 +842,6 @@ void tst_QScriptEngine::newQMetaObject() // with meta-constructor QScriptValue qclass4 = eng.newQMetaObject(&QObject::staticMetaObject); - QEXPECT_FAIL("", "Crashes!!!", Abort); - QVERIFY(false); { QScriptValue inst = qclass4.construct(); QVERIFY(inst.isQObject()); |