summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-07-28 12:18:16 (GMT)
committerKent Hansen <khansen@trolltech.com>2009-07-28 12:18:16 (GMT)
commitaec5f2e797aa1e4b44d0713e0f75b456e44c571b (patch)
tree6c09d8195c55cbcf794797e58be67acfc55a23a8 /tests/auto
parentc11ddcf4c5f47db78a07123a0d534748c0672b0a (diff)
downloadQt-aec5f2e797aa1e4b44d0713e0f75b456e44c571b.zip
Qt-aec5f2e797aa1e4b44d0713e0f75b456e44c571b.tar.gz
Qt-aec5f2e797aa1e4b44d0713e0f75b456e44c571b.tar.bz2
get rid of warning
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/qscriptvalue/tst_qscriptvalue.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/qscriptvalue/tst_qscriptvalue.cpp b/tests/auto/qscriptvalue/tst_qscriptvalue.cpp
index 7b7eab3..f2ac385 100644
--- a/tests/auto/qscriptvalue/tst_qscriptvalue.cpp
+++ b/tests/auto/qscriptvalue/tst_qscriptvalue.cpp
@@ -2450,6 +2450,9 @@ void tst_QScriptValue::call()
"cannot call function with thisObject created in "
"a different engine");
QCOMPARE(fun.call(Object).isValid(), false);
+ QTest::ignoreMessage(QtWarningMsg, "QScriptValue::call() failed: "
+ "cannot call function with argument created in "
+ "a different engine");
QCOMPARE(fun.call(QScriptValue(), QScriptValueList() << QScriptValue(&eng, 123)).isValid(), false);
}