diff options
author | Kent Hansen <khansen@trolltech.com> | 2009-08-10 11:48:52 +0200 |
---|---|---|
committer | Kent Hansen <khansen@trolltech.com> | 2009-08-10 11:48:52 +0200 |
commit | ba10f3506ea3003aa6282000f1d1889606ba711d (patch) | |
tree | 452c6a92b63bb8d3dc335954362fc668e8b1f810 /tests/auto/qscriptcontext/tst_qscriptcontext.cpp | |
parent | 40f48e520fe19075a31cc26889ecdd6951a068e3 (diff) |
skip the QScriptContext::returnValue() test
returnValue() and setReturnValue() are internal functions not
implemented in the JSC-based back-end.
Diffstat (limited to 'tests/auto/qscriptcontext/tst_qscriptcontext.cpp')
-rw-r--r-- | tests/auto/qscriptcontext/tst_qscriptcontext.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/auto/qscriptcontext/tst_qscriptcontext.cpp b/tests/auto/qscriptcontext/tst_qscriptcontext.cpp index c9a553a71f..48403aa69b 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")); } |