diff options
author | Richard Moe Gustavsen <richard.gustavsen@nokia.com> | 2009-11-03 10:16:39 (GMT) |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@nokia.com> | 2009-11-03 10:33:41 (GMT) |
commit | 14a1a9af8ae1b3d2379e6f8c24536afb20b39509 (patch) | |
tree | a27a5bcb158fa7f4d6bfe1519f5ea4161e197c55 /tests | |
parent | c8a7b0430120b391e356a821390aaaebacbbb006 (diff) | |
download | Qt-14a1a9af8ae1b3d2379e6f8c24536afb20b39509.zip Qt-14a1a9af8ae1b3d2379e6f8c24536afb20b39509.tar.gz Qt-14a1a9af8ae1b3d2379e6f8c24536afb20b39509.tar.bz2 |
Cocoa: fix q3filedialog autotest
Q3FileDialog does not exist in the cocoa port. Do ifdef this
test out on cocoa
Rev-by: prasanth
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/q3filedialog/tst_q3filedialog.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/q3filedialog/tst_q3filedialog.cpp b/tests/auto/q3filedialog/tst_q3filedialog.cpp index 2585f60..e2686eb 100644 --- a/tests/auto/q3filedialog/tst_q3filedialog.cpp +++ b/tests/auto/q3filedialog/tst_q3filedialog.cpp @@ -59,7 +59,9 @@ public: virtual ~tst_Q3FileDialog(); private slots: +#ifndef QT_MAC_USE_COCOA void getSetCheck(); +#endif }; tst_Q3FileDialog::tst_Q3FileDialog() @@ -70,6 +72,7 @@ tst_Q3FileDialog::~tst_Q3FileDialog() { } +#ifndef QT_MAC_USE_COCOA class Preview : public QLabel, public Q3FilePreview { public: @@ -125,6 +128,7 @@ void tst_Q3FileDialog::getSetCheck() obj1.setPreviewMode(Q3FileDialog::PreviewMode(Q3FileDialog::Info)); QCOMPARE(obj1.previewMode(), Q3FileDialog::PreviewMode(Q3FileDialog::Info)); } +#endif QTEST_MAIN(tst_Q3FileDialog) #include "tst_q3filedialog.moc" |