summaryrefslogtreecommitdiffstats
path: root/tests/auto/qfiledialog
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-10-08 16:30:39 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-10-08 18:07:49 (GMT)
commite2282deeb67c22f42f1022be110a3e24723eb913 (patch)
treee547c0274ac545715bd347fb1cc99baf8b0ab9e0 /tests/auto/qfiledialog
parent3945fd75a93d790434b33c2d23add155893a82a4 (diff)
downloadQt-e2282deeb67c22f42f1022be110a3e24723eb913.zip
Qt-e2282deeb67c22f42f1022be110a3e24723eb913.tar.gz
Qt-e2282deeb67c22f42f1022be110a3e24723eb913.tar.bz2
Fixes XPASS on the QFileDialog test on Carbon
Reviewed-by: alexis
Diffstat (limited to 'tests/auto/qfiledialog')
-rw-r--r--tests/auto/qfiledialog/tst_qfiledialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qfiledialog/tst_qfiledialog.cpp b/tests/auto/qfiledialog/tst_qfiledialog.cpp
index f6b082f..dc2ca61 100644
--- a/tests/auto/qfiledialog/tst_qfiledialog.cpp
+++ b/tests/auto/qfiledialog/tst_qfiledialog.cpp
@@ -944,7 +944,7 @@ 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_WS_MAC) || defined(Q_WS_WIN) || defined(Q_OS_SYMBIAN)
+#if defined(QT_MAC_USE_COCOA) || defined(Q_WS_WIN) || defined(Q_OS_SYMBIAN)
QEXPECT_FAIL("", "This test does not work on Mac, Windows, or Symbian", Abort);
#endif
QTRY_VERIFY(!listView->selectionModel()->selectedRows().isEmpty());