diff options
-rw-r--r-- | tests/auto/declarative/qjsvalue/tst_qjsvalue.cpp | 1 |
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"); |