aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qquickfolderlistmodel
diff options
context:
space:
mode:
authorAndrew Knight <andrew.knight@digia.com>2014-03-05 10:23:08 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-05 13:23:10 +0100
commit0d84dab38059345f51e8318d2474068e817ac007 (patch)
treef55681b6515ad1c88e386f156ada4c59186fcd57 /tests/auto/qml/qquickfolderlistmodel
parent7e87bf0bb7dd5b64fca0fedce046d7ab0475a4c6 (diff)
Fix qquickfolderlistmodel test compilation on WinRT
Like WinCE, the changeDrive() test should be disabled on WinRT. Change-Id: I85749b84fef372e166fe52c263225478094ccdb4 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'tests/auto/qml/qquickfolderlistmodel')
-rw-r--r--tests/auto/qml/qquickfolderlistmodel/tst_qquickfolderlistmodel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qml/qquickfolderlistmodel/tst_qquickfolderlistmodel.cpp b/tests/auto/qml/qquickfolderlistmodel/tst_qquickfolderlistmodel.cpp
index e03befe25a..a6e6345223 100644
--- a/tests/auto/qml/qquickfolderlistmodel/tst_qquickfolderlistmodel.cpp
+++ b/tests/auto/qml/qquickfolderlistmodel/tst_qquickfolderlistmodel.cpp
@@ -75,8 +75,8 @@ private slots:
void resetFiltering();
void refresh();
void cdUp();
-#if defined (Q_OS_WIN) && !defined (Q_OS_WINCE)
- // WinCE does not have drive concept, so lets execute this test only on desktop Windows.
+#ifdef Q_OS_WIN32
+ // WinCE/WinRT do not have drive APIs, so let's execute this test only on desktop Windows.
void changeDrive();
#endif
void showDotAndDotDot();
@@ -240,7 +240,7 @@ void tst_qquickfolderlistmodel::cdUp()
}
}
-#if defined (Q_OS_WIN) && !defined (Q_OS_WINCE)
+#ifdef Q_OS_WIN32
void tst_qquickfolderlistmodel::changeDrive()
{
QSKIP("QTBUG-26728");