diff options
author | Kent Hansen <khansen@trolltech.com> | 2009-06-26 11:16:59 (GMT) |
---|---|---|
committer | Kent Hansen <khansen@trolltech.com> | 2009-06-26 11:16:59 (GMT) |
commit | 6d5c17b4e0ec8288c720bc2b93a97db4db7f215e (patch) | |
tree | 986f1e5f505cdf1567b39f643adcefe4fb1946f3 /tests/auto/qscriptengine | |
parent | 0f71f6dd993194dafd0385d4697ced38839e2b37 (diff) | |
download | Qt-6d5c17b4e0ec8288c720bc2b93a97db4db7f215e.zip Qt-6d5c17b4e0ec8288c720bc2b93a97db4db7f215e.tar.gz Qt-6d5c17b4e0ec8288c720bc2b93a97db4db7f215e.tar.bz2 |
implement QScriptValue::isQMetaObject() and QScriptValue::toQMetaObject()
Diffstat (limited to 'tests/auto/qscriptengine')
-rw-r--r-- | tests/auto/qscriptengine/tst_qscriptengine.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/auto/qscriptengine/tst_qscriptengine.cpp b/tests/auto/qscriptengine/tst_qscriptengine.cpp index 800319d..4c3b7e1 100644 --- a/tests/auto/qscriptengine/tst_qscriptengine.cpp +++ b/tests/auto/qscriptengine/tst_qscriptengine.cpp @@ -220,9 +220,7 @@ void tst_QScriptEngine::newFunction() QScriptValue prot = fun.property("prototype", QScriptValue::ResolveLocal); QVERIFY(prot.isObject()); QVERIFY(prot.property("constructor").strictlyEquals(fun)); - QEXPECT_FAIL("", "Flags are wrong", Continue); QCOMPARE(fun.propertyFlags("prototype"), QScriptValue::Undeletable); - QEXPECT_FAIL("", "Flags are wrong", Continue); QCOMPARE(prot.propertyFlags("constructor"), QScriptValue::Undeletable | QScriptValue::SkipInEnumeration); } // prototype should be Function.prototype @@ -244,9 +242,7 @@ void tst_QScriptEngine::newFunction() QScriptValue prot = fun.property("prototype", QScriptValue::ResolveLocal); QVERIFY(prot.isObject()); QVERIFY(prot.property("constructor").strictlyEquals(fun)); - QEXPECT_FAIL("", "Flags are wrong", Continue); QCOMPARE(fun.propertyFlags("prototype"), QScriptValue::Undeletable); - QEXPECT_FAIL("", "Flags are wrong", Continue); QCOMPARE(prot.propertyFlags("constructor"), QScriptValue::Undeletable | QScriptValue::SkipInEnumeration); } // prototype should be Function.prototype |