Replace insignificant test with QEXPECT_FAIL.
Task-number: QTBUG-26430 Change-Id: I647388701b7e6a71bb011f7714ff3b96c833a837 Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>bb10
parent
76b1df3032
commit
a2fc6e1e2a
|
|
@ -2,5 +2,3 @@ CONFIG += testcase
|
|||
TARGET = tst_qprinter
|
||||
QT += printsupport widgets testlib
|
||||
SOURCES += tst_qprinter.cpp
|
||||
|
||||
mac*:CONFIG+=insignificant_test # QTBUG-25292
|
||||
|
|
|
|||
|
|
@ -653,6 +653,9 @@ void tst_QPrinter::valuePreservation()
|
|||
|
||||
printer.setCollateCopies(!status);
|
||||
printer.setOutputFormat(newFormat);
|
||||
#ifdef Q_OS_MAC
|
||||
QEXPECT_FAIL("","QTBUG-26430", Abort);
|
||||
#endif
|
||||
QCOMPARE(printer.collateCopies(), !status);
|
||||
printer.setOutputFormat(oldFormat);
|
||||
QCOMPARE(printer.collateCopies(), !status);
|
||||
|
|
|
|||
Loading…
Reference in New Issue