diff options
author | Kent Hansen <khansen@trolltech.com> | 2009-08-10 09:48:52 (GMT) |
---|---|---|
committer | Kent Hansen <khansen@trolltech.com> | 2009-08-10 09:48:52 (GMT) |
commit | ba10f3506ea3003aa6282000f1d1889606ba711d (patch) | |
tree | 452c6a92b63bb8d3dc335954362fc668e8b1f810 /tests/auto/qscriptcontext | |
parent | 40f48e520fe19075a31cc26889ecdd6951a068e3 (diff) | |
download | Qt-ba10f3506ea3003aa6282000f1d1889606ba711d.zip Qt-ba10f3506ea3003aa6282000f1d1889606ba711d.tar.gz Qt-ba10f3506ea3003aa6282000f1d1889606ba711d.tar.bz2 |
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')
-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 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")); } |