From 40f48e520fe19075a31cc26889ecdd6951a068e3 Mon Sep 17 00:00:00 2001 From: Kent Hansen Date: Mon, 10 Aug 2009 11:42:28 +0200 Subject: 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. --- tests/auto/qscriptengine/tst_qscriptengine.cpp | 1 + 1 file changed, 1 insertion(+) 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()); -- cgit v0.12