Ignore failures from tst_QWidget_window on Mac OS X

The tst_windowFilePathAndwindowTitle test currently fails, so mark the
failures as expected failures for now.

Task-number: QTBUG-23682
Change-Id: If64a82c919b218b5c1c38ce5228081bb46fe70ac
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
This commit is contained in:
Bradley T. Hughes 2012-01-17 14:23:15 +01:00 committed by Qt by Nokia
parent 06ff72e02d
commit 0d12500240

View File

@ -233,12 +233,19 @@ void tst_QWidget_window::tst_windowFilePathAndwindowTitle()
widget.setWindowTitle(indyWindowTitle);
}
widget.setWindowFilePath(filePath);
#ifdef Q_OS_MAC
QEXPECT_FAIL("never Set Title, yes AppName", "QTBUG-23682", Continue);
QEXPECT_FAIL("set title after only, yes AppName", "QTBUG-23682", Continue);
#endif
QCOMPARE(finalTitleBefore, widget.windowTitle());
QCOMPARE(widget.windowFilePath(), filePath);
if (setWindowTitleAfter) {
widget.setWindowTitle(indyWindowTitle);
}
#ifdef Q_OS_MAC
QEXPECT_FAIL("never Set Title, yes AppName", "QTBUG-23682", Continue);
#endif
QCOMPARE(finalTitleAfter, widget.windowTitle());
QCOMPARE(widget.windowFilePath(), filePath);
}