Re-enabled passing tests in tst_qabstractprintdialog
To increase the effective test coverage, this patch re-enables the tst_qabstractprintdialog test case as such, and instead disables only the test functions that are currently failing in CI. Task-number: QTBUG-22453 Change-Id: Ic09a03ed405bf6f85917410a7a86e17f2fe22cba Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>bb10
parent
ef9b2b6aef
commit
582bb9e467
|
|
@ -6,5 +6,3 @@ CONFIG += testcase
|
|||
TARGET = tst_qabstractprintdialog
|
||||
QT += widgets printsupport testlib
|
||||
SOURCES += tst_qabstractprintdialog.cpp
|
||||
|
||||
CONFIG += insignificant_test # QTBUG-21402
|
||||
|
|
|
|||
|
|
@ -114,6 +114,7 @@ void tst_QAbstractPrintDialog::setMinMax()
|
|||
QPrinter printer;
|
||||
MyAbstractPrintDialog obj1(&printer);
|
||||
obj1.setEnabledOptions(QAbstractPrintDialog::PrintDialogOptions(QAbstractPrintDialog::None));
|
||||
QEXPECT_FAIL("", "QTBUG-22637", Abort);
|
||||
QCOMPARE(obj1.minPage(), 1);
|
||||
QCOMPARE(obj1.maxPage(), INT_MAX);
|
||||
QVERIFY(!obj1.isOptionEnabled(QAbstractPrintDialog::PrintPageRange));
|
||||
|
|
|
|||
Loading…
Reference in New Issue