diff options
author | Kent Hansen <khansen@trolltech.com> | 2009-07-28 12:18:16 (GMT) |
---|---|---|
committer | Kent Hansen <khansen@trolltech.com> | 2009-07-28 12:18:16 (GMT) |
commit | aec5f2e797aa1e4b44d0713e0f75b456e44c571b (patch) | |
tree | 6c09d8195c55cbcf794797e58be67acfc55a23a8 /tests/auto/qscriptvalue | |
parent | c11ddcf4c5f47db78a07123a0d534748c0672b0a (diff) | |
download | Qt-aec5f2e797aa1e4b44d0713e0f75b456e44c571b.zip Qt-aec5f2e797aa1e4b44d0713e0f75b456e44c571b.tar.gz Qt-aec5f2e797aa1e4b44d0713e0f75b456e44c571b.tar.bz2 |
get rid of warning
Diffstat (limited to 'tests/auto/qscriptvalue')
-rw-r--r-- | tests/auto/qscriptvalue/tst_qscriptvalue.cpp | 3 |
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); } |