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:
parent
06ff72e02d
commit
0d12500240
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user