diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2011-12-01 17:14:19 +0000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-12-01 18:55:39 +0100 |
commit | 370983f314e181c6655f7cd5535196e6aec17f9f (patch) | |
tree | b1b88c38a20c8d0ab21817b6b11cd9ab4956a3a9 /tests/auto | |
parent | 7980f7aa3f01aeb4e33fab76f495ad7f6c885cc2 (diff) |
Ignore expected warning
Change-Id: I6e90537461fa4939c724b3031f3b3b5f04343d8e
Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/declarative/qquicktextinput/tst_qquicktextinput.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/auto/declarative/qquicktextinput/tst_qquicktextinput.cpp b/tests/auto/declarative/qquicktextinput/tst_qquicktextinput.cpp index b217f905f1..a6a9add5d5 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); |