From 767155c48f9a561a330761dc0ea0839290d1a181 Mon Sep 17 00:00:00 2001 From: Olli Kauppila Date: Thu, 12 Jan 2012 15:16:50 +0200 Subject: Test didn't work after fixed bug QTBUG-17873. Error received from application didn't match with expected error from baseline file. Fix removes lines "QPixmap: Cannot create a QPixmap when no GUI is being used" from received error message. --- tests/auto/uic3/tst_uic3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/auto/uic3/tst_uic3.cpp b/tests/auto/uic3/tst_uic3.cpp index 6e7de4e..e7ca689 100644 --- a/tests/auto/uic3/tst_uic3.cpp +++ b/tests/auto/uic3/tst_uic3.cpp @@ -153,7 +153,7 @@ void tst_uic3::convert() } QCOMPARE(QString(bFile.readAll()), QString(gFile.readAll())); - QCOMPARE(QString(eFile.readAll()), QString::fromLocal8Bit(errorOutput).remove(QLatin1Char('\r'))); + QCOMPARE(QString(eFile.readAll()), QString(QString::fromLocal8Bit(errorOutput).remove(QLatin1Char('\r'))).remove("QPixmap: Cannot create a QPixmap when no GUI is being used\n")); } void tst_uic3::convert_data() const -- cgit v0.12