From ba10f3506ea3003aa6282000f1d1889606ba711d Mon Sep 17 00:00:00 2001 From: Kent Hansen Date: Mon, 10 Aug 2009 11:48:52 +0200 Subject: skip the QScriptContext::returnValue() test returnValue() and setReturnValue() are internal functions not implemented in the JSC-based back-end. --- tests/auto/qscriptcontext/tst_qscriptcontext.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/auto/qscriptcontext/tst_qscriptcontext.cpp b/tests/auto/qscriptcontext/tst_qscriptcontext.cpp index c9a553a..48403aa 100644 --- a/tests/auto/qscriptcontext/tst_qscriptcontext.cpp +++ b/tests/auto/qscriptcontext/tst_qscriptcontext.cpp @@ -301,12 +301,11 @@ void tst_QScriptContext::thisObject() void tst_QScriptContext::returnValue() { + QSKIP("Internal function not implemented in JSC-based back-end", SkipAll); QScriptEngine eng; eng.evaluate("123"); - QEXPECT_FAIL("", "", Continue); QCOMPARE(eng.currentContext()->returnValue().toNumber(), 123.0); eng.evaluate("\"ciao\""); - QEXPECT_FAIL("", "", Continue); QCOMPARE(eng.currentContext()->returnValue().toString(), QString("ciao")); } -- cgit v0.12