aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qjsvalue/tst_qjsvalue.cpp
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2011-12-01 14:08:57 +0000
committerQt by Nokia <qt-info@nokia.com>2011-12-01 18:55:39 +0100
commitc35b80a1e9e1e8bb032d9f4a349fffdcab09d637 (patch)
treef5db2665c7b1496bf7b74daf9cddf0cf5794c641 /tests/auto/declarative/qjsvalue/tst_qjsvalue.cpp
parent8fd12405b9976ca4c9dec6cf53ccde24bfa76dd7 (diff)
Ignore expected warning message
Change-Id: I80d2b6e082f6e648ee888820903bc81a21c0d302 Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
Diffstat (limited to 'tests/auto/declarative/qjsvalue/tst_qjsvalue.cpp')
-rw-r--r--tests/auto/declarative/qjsvalue/tst_qjsvalue.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/declarative/qjsvalue/tst_qjsvalue.cpp b/tests/auto/declarative/qjsvalue/tst_qjsvalue.cpp
index 8a8bdf6f67..8557324d08 100644
--- a/tests/auto/declarative/qjsvalue/tst_qjsvalue.cpp
+++ b/tests/auto/declarative/qjsvalue/tst_qjsvalue.cpp
@@ -2944,6 +2944,7 @@ void tst_QJSValue::call_twoEngines()
QJSEngine otherEngine;
QJSValue fun = otherEngine.evaluate("(function() { return 1; })");
QVERIFY(fun.isFunction());
+ QTest::ignoreMessage(QtWarningMsg, "JSValue can't be rassigned to an another engine.");
QTest::ignoreMessage(QtWarningMsg, "QJSValue::call() failed: "
"cannot call function with thisObject created in "
"a different engine");