From c35b80a1e9e1e8bb032d9f4a349fffdcab09d637 Mon Sep 17 00:00:00 2001 From: Aaron Kennedy Date: Thu, 1 Dec 2011 14:08:57 +0000 Subject: [PATCH] Ignore expected warning message Change-Id: I80d2b6e082f6e648ee888820903bc81a21c0d302 Reviewed-by: Aaron Kennedy --- 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 8a8bdf6..8557324 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"); -- 1.7.2.5