Expect tst_QWizard::setPixmap() failure on Mac OS X
Task-number: QTBUG-23701 Change-Id: Iba5b926e57c1565856d17bbfbff4d1da75645ad4 Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
This commit is contained in:
parent
e3c59443c6
commit
9d87e1db1f
@ -442,10 +442,13 @@ void tst_QWizard::setPixmap()
|
||||
QVERIFY(wizard.pixmap(QWizard::LogoPixmap).isNull());
|
||||
QVERIFY(wizard.pixmap(QWizard::WatermarkPixmap).isNull());
|
||||
#ifdef Q_OS_MAC
|
||||
if (QSysInfo::MacintoshVersion > QSysInfo::MV_10_3)
|
||||
if (QSysInfo::MacintoshVersion > QSysInfo::MV_10_3) {
|
||||
QEXPECT_FAIL("", "QTBUG-23701", Continue);
|
||||
QVERIFY(wizard.pixmap(QWizard::BackgroundPixmap).isNull() == false);
|
||||
else // fall through since the image doesn't exist on a 10.3 system.
|
||||
} else {
|
||||
// fall through since the image doesn't exist on a 10.3 system.
|
||||
QVERIFY(page->pixmap(QWizard::BackgroundPixmap).isNull());
|
||||
}
|
||||
#else
|
||||
QVERIFY(wizard.pixmap(QWizard::BackgroundPixmap).isNull());
|
||||
#endif
|
||||
@ -454,10 +457,13 @@ void tst_QWizard::setPixmap()
|
||||
QVERIFY(page->pixmap(QWizard::LogoPixmap).isNull());
|
||||
QVERIFY(page->pixmap(QWizard::WatermarkPixmap).isNull());
|
||||
#ifdef Q_OS_MAC
|
||||
if (QSysInfo::MacintoshVersion > QSysInfo::MV_10_3)
|
||||
if (QSysInfo::MacintoshVersion > QSysInfo::MV_10_3) {
|
||||
QEXPECT_FAIL("", "QTBUG-23701", Continue);
|
||||
QVERIFY(wizard.pixmap(QWizard::BackgroundPixmap).isNull() == false);
|
||||
else // fall through since the image doesn't exist on a 10.3 system.
|
||||
} else {
|
||||
// fall through since the image doesn't exist on a 10.3 system.
|
||||
QVERIFY(page->pixmap(QWizard::BackgroundPixmap).isNull());
|
||||
}
|
||||
#else
|
||||
QVERIFY(page->pixmap(QWizard::BackgroundPixmap).isNull());
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user