summaryrefslogtreecommitdiffstats
path: root/tests/auto/qtableview
diff options
context:
space:
mode:
authorninerider <qt-info@nokia.com>2009-10-09 12:31:03 (GMT)
committerninerider <qt-info@nokia.com>2009-10-09 12:31:03 (GMT)
commitb7a780e057642b2829238cd8e83b812ea963f687 (patch)
treebe86a543bbfffc2625992bcab2873f31e09ca7dd /tests/auto/qtableview
parentf370b5d986529155baf7d9dd95678854df4105e0 (diff)
downloadQt-b7a780e057642b2829238cd8e83b812ea963f687.zip
Qt-b7a780e057642b2829238cd8e83b812ea963f687.tar.gz
Qt-b7a780e057642b2829238cd8e83b812ea963f687.tar.bz2
All mousewheel tests skipped on Windows CE
Due to more problems with this test, they are skipped alltogether on Windows CE. Reviewed-by: Joerg
Diffstat (limited to 'tests/auto/qtableview')
-rw-r--r--tests/auto/qtableview/tst_qtableview.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/tests/auto/qtableview/tst_qtableview.cpp b/tests/auto/qtableview/tst_qtableview.cpp
index bb0e226..55da180 100644
--- a/tests/auto/qtableview/tst_qtableview.cpp
+++ b/tests/auto/qtableview/tst_qtableview.cpp
@@ -3407,17 +3407,14 @@ void tst_QTableView::mouseWheel_data()
void tst_QTableView::mouseWheel()
{
+#ifdef Q_OS_WINCE
+ QSKIP("Since different Windows CE versions sport different taskbars, we skip this test", SkipAll);
+#endif
QFETCH(int, scrollMode);
QFETCH(int, delta);
QFETCH(int, horizontalPositon);
QFETCH(int, verticalPosition);
- if (scrollMode == int(QAbstractItemView::ScrollPerPixel))
- {
-#ifdef Q_OS_WINCE
- QSKIP("Since different Windows CE versions sport different taskbars, we skip this test", SkipSingle);
-#endif
- }
QtTestTableModel model(100, 100);
QtTestTableView view;
view.resize(500, 500);