Skip to content

Commit

Permalink
tests: Remove use of ignoreMessage
Browse files Browse the repository at this point in the history
- QTest::ignoreMessage(QRegularExpression) as only added in Qt 5.3
  removing for now.
  • Loading branch information
equalsraf committed May 2, 2015
1 parent ce5de61 commit 721e778
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/tst_msgpackiodevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ private slots:
QVERIFY(onError.isValid());

// Ignore qWarn
QTest::ignoreMessage(QtWarningMsg, QRegularExpression("Unsupported encoding"));
QCOMPARE(one->setEncoding("invalid-encoding"), false);

QVERIFY(SPYWAIT(onError));
Expand All @@ -88,7 +87,6 @@ private slots:
QVERIFY(onError.isValid());

// Ignore qWarn
QTest::ignoreMessage(QtWarningMsg, QRegularExpression("Invalid msgpack"));
one->send(QByteArray("Hello!"));
QVERIFY(SPYWAIT(onError));
QCOMPARE(two->errorCause(), MsgpackIODevice::InvalidMsgpack);
Expand Down

0 comments on commit 721e778

Please sign in to comment.