diff options
author | Kent Hansen <khansen@trolltech.com> | 2009-08-05 15:29:18 (GMT) |
---|---|---|
committer | Kent Hansen <khansen@trolltech.com> | 2009-08-05 15:29:18 (GMT) |
commit | 43ab9a27363681c5db81004c95141b3d0695cabd (patch) | |
tree | de9997688b7c007e57001607d4623c328346e05f /tests/auto/qscriptengine | |
parent | a11921c7ae4428cfaa53356dbc0b3415a297e083 (diff) | |
download | Qt-43ab9a27363681c5db81004c95141b3d0695cabd.zip Qt-43ab9a27363681c5db81004c95141b3d0695cabd.tar.gz Qt-43ab9a27363681c5db81004c95141b3d0695cabd.tar.bz2 |
make QScriptEngine::newQMetaObject() work
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()); |