diff -r 56cd8111b7f7 -r 41300fa6a67c tests/auto/q3filedialog/tst_q3filedialog.cpp --- a/tests/auto/q3filedialog/tst_q3filedialog.cpp Tue Jan 26 12:42:25 2010 +0200 +++ b/tests/auto/q3filedialog/tst_q3filedialog.cpp Tue Feb 02 00:43:10 2010 +0200 @@ -59,7 +59,9 @@ virtual ~tst_Q3FileDialog(); private slots: +#ifndef QT_MAC_USE_COCOA void getSetCheck(); +#endif }; tst_Q3FileDialog::tst_Q3FileDialog() @@ -70,6 +72,7 @@ { } +#ifndef QT_MAC_USE_COCOA class Preview : public QLabel, public Q3FilePreview { public: @@ -125,6 +128,7 @@ obj1.setPreviewMode(Q3FileDialog::PreviewMode(Q3FileDialog::Info)); QCOMPARE(obj1.previewMode(), Q3FileDialog::PreviewMode(Q3FileDialog::Info)); } +#endif QTEST_MAIN(tst_Q3FileDialog) #include "tst_q3filedialog.moc"