Do not expect tst_QFileDialog::selectFiles() failure on Mac OS X
This test no longer fails: XPASS : tst_QFiledialog::selectFiles() '!listView->selectionModel()- Loc: [tst_qfiledialog.cpp(915)] Change-Id: Ib790c0f81b3d383117cceceaacbf0c3d6a673404 Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>bb10
parent
fdfec806f9
commit
855505ea35
|
|
@ -909,8 +909,8 @@ void tst_QFiledialog::selectFiles()
|
|||
QVERIFY(listView);
|
||||
for (int i = 0; i < list.count(); ++i) {
|
||||
fd.selectFile(fd.directory().path() + "/" + list.at(i));
|
||||
#if defined(Q_OS_MAC) || defined(Q_WS_WIN)
|
||||
QEXPECT_FAIL("", "This test does not work on Mac or Windows", Abort);
|
||||
#if defined(Q_WS_WIN)
|
||||
QEXPECT_FAIL("", "This test does not work on Windows", Abort);
|
||||
#endif
|
||||
QTRY_VERIFY(!listView->selectionModel()->selectedRows().isEmpty());
|
||||
toSelect.append(listView->selectionModel()->selectedRows().last());
|
||||
|
|
|
|||
Loading…
Reference in New Issue