From: Aaron Kennedy Date: Thu, 1 Dec 2011 17:14:19 +0000 (+0000) Subject: Ignore expected warning X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=370983f314e181c6655f7cd5535196e6aec17f9f;p=konrad%2Fqtdeclarative.git Ignore expected warning Change-Id: I6e90537461fa4939c724b3031f3b3b5f04343d8e Reviewed-by: Aaron Kennedy --- diff --git a/tests/auto/declarative/qquicktextinput/tst_qquicktextinput.cpp b/tests/auto/declarative/qquicktextinput/tst_qquicktextinput.cpp index b217f90..a6a9add 100644 --- a/tests/auto/declarative/qquicktextinput/tst_qquicktextinput.cpp +++ b/tests/auto/declarative/qquicktextinput/tst_qquicktextinput.cpp @@ -3276,7 +3276,12 @@ void tst_qquicktextinput::QTBUG_19956() void tst_qquicktextinput::QTBUG_19956_regexp() { - QQuickView canvas(QUrl::fromLocalFile(TESTDATA("qtbug-19956regexp.qml"))); + QUrl url = QUrl::fromLocalFile(TESTDATA("qtbug-19956regexp.qml")); + + QString warning = url.toString() + ":11: Unable to assign [undefined] to QRegExp"; + QTest::ignoreMessage(QtWarningMsg, qPrintable(warning)); + + QQuickView canvas(url); canvas.show(); canvas.requestActivateWindow(); QTest::qWaitForWindowShown(&canvas);