summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-08-10 09:42:28 (GMT)
committerKent Hansen <khansen@trolltech.com>2009-08-10 09:42:28 (GMT)
commit40f48e520fe19075a31cc26889ecdd6951a068e3 (patch)
treeaf5fe605ca47dd12e4dbce8c9bd5e76522343c52 /tests/auto
parente810abb1a0b4a34f50027bb0f8fa3c67f4ae1617 (diff)
downloadQt-40f48e520fe19075a31cc26889ecdd6951a068e3.zip
Qt-40f48e520fe19075a31cc26889ecdd6951a068e3.tar.gz
Qt-40f48e520fe19075a31cc26889ecdd6951a068e3.tar.bz2
mark function scopes test as expected failure
QScriptValue::scope() and QScriptValue::setScope() are internal function that we don't implement fully in the JSC-based back-end.
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/qscriptengine/tst_qscriptengine.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qscriptengine/tst_qscriptengine.cpp b/tests/auto/qscriptengine/tst_qscriptengine.cpp
index c9ec9d3..83874ec 100644
--- a/tests/auto/qscriptengine/tst_qscriptengine.cpp
+++ b/tests/auto/qscriptengine/tst_qscriptengine.cpp
@@ -3836,6 +3836,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);
QVERIFY(fun.scope().isObject());
QVERIFY(fun.scope().strictlyEquals(eng.globalObject()));
QVERIFY(!eng.globalObject().scope().isValid());