summaryrefslogtreecommitdiffstats
path: root/tests/auto/qtableview
diff options
context:
space:
mode:
authorninerider <qt-info@nokia.com>2009-10-07 16:56:32 +0200
committerninerider <qt-info@nokia.com>2009-10-07 16:56:32 +0200
commitde0635e254b3d4641dc0c42f7cee96596dbeb648 (patch)
tree4f623b10aec37daf156d5b650997f3037fcbda24 /tests/auto/qtableview
parentbf8d74bb8e849cb9eea74ef8fdb82d8926c48880 (diff)
Skip the srcoll per pixel mouse wheel test on Windows CE
The test data does not account for different geometries on different devices. The 'magic number' 89 would have to be adapted for each variant. A more robust test would be required to suit all cases. Reviewed-by: banana joe
Diffstat (limited to 'tests/auto/qtableview')
-rw-r--r--tests/auto/qtableview/tst_qtableview.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/qtableview/tst_qtableview.cpp b/tests/auto/qtableview/tst_qtableview.cpp
index 4bf7c2e2cb..bb0e226b11 100644
--- a/tests/auto/qtableview/tst_qtableview.cpp
+++ b/tests/auto/qtableview/tst_qtableview.cpp
@@ -3412,6 +3412,12 @@ void tst_QTableView::mouseWheel()
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);