Ignore expected warning message
authorAaron Kennedy <aaron.kennedy@nokia.com>
Thu, 1 Dec 2011 14:08:57 +0000 (14:08 +0000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 1 Dec 2011 17:55:39 +0000 (18:55 +0100)
Change-Id: I80d2b6e082f6e648ee888820903bc81a21c0d302
Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>

tests/auto/declarative/qjsvalue/tst_qjsvalue.cpp

index 8a8bdf6..8557324 100644 (file)
@@ -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");