diff options
author | Kent Hansen <kent.hansen@nokia.com> | 2011-02-23 09:58:07 (GMT) |
---|---|---|
committer | Kent Hansen <kent.hansen@nokia.com> | 2011-02-23 10:01:25 (GMT) |
commit | 4ae7bdabe8903d9cdfc48b9de6e2978b99b0b334 (patch) | |
tree | 78f36febee6184fb6ea17aaa0d60bcf2d50a316b /tests/auto/qscriptengine | |
parent | ad8ff4b6f6204a982d6050a45997d3a27be01fac (diff) | |
download | Qt-4ae7bdabe8903d9cdfc48b9de6e2978b99b0b334.zip Qt-4ae7bdabe8903d9cdfc48b9de6e2978b99b0b334.tar.gz Qt-4ae7bdabe8903d9cdfc48b9de6e2978b99b0b334.tar.bz2 |
Link expected failures to tasks
These failures are all due to regressions when switching to
the JavaScriptCore-based back-end (Qt 4.6). The failure messages
now contain the IDs of the corresponding tasks that have more
information.
Diffstat (limited to 'tests/auto/qscriptengine')
-rw-r--r-- | tests/auto/qscriptengine/tst_qscriptengine.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/auto/qscriptengine/tst_qscriptengine.cpp b/tests/auto/qscriptengine/tst_qscriptengine.cpp index b609d8c..ddfb753 100644 --- a/tests/auto/qscriptengine/tst_qscriptengine.cpp +++ b/tests/auto/qscriptengine/tst_qscriptengine.cpp @@ -4200,7 +4200,8 @@ void tst_QScriptEngine::getterSetterThisObject_activation() // read eng.evaluate("act.__defineGetter__('x', function() { return this; })"); QVERIFY(eng.evaluate("x === act").toBoolean()); - QEXPECT_FAIL("", "Exotic overload (don't care for now)", Continue); + QEXPECT_FAIL("", "QTBUG-17605: Not possible to implement local variables as getter/setter properties", Abort); + QVERIFY(!eng.hasUncaughtException()); QVERIFY(eng.evaluate("with (act) x").equals("foo")); QVERIFY(eng.evaluate("(function() { with (act) return x; })() === act").toBoolean()); eng.evaluate("q = {}; with (act) with (q) x").equals(eng.evaluate("act")); @@ -5316,7 +5317,7 @@ void tst_QScriptEngine::functionScopes() // top-level functions have only the global object in their scope QScriptValue fun = eng.evaluate("(function() {})"); QVERIFY(fun.isFunction()); - QEXPECT_FAIL("", "Function scope proxying is not implemented", Abort); + QEXPECT_FAIL("", "QScriptValue::scope() is internal, not implemented", Abort); QVERIFY(fun.scope().isObject()); QVERIFY(fun.scope().strictlyEquals(eng.globalObject())); QVERIFY(!eng.globalObject().scope().isValid()); |