diff options
author | ninerider <qt-info@nokia.com> | 2009-10-07 14:56:32 (GMT) |
---|---|---|
committer | ninerider <qt-info@nokia.com> | 2009-10-07 14:56:32 (GMT) |
commit | de0635e254b3d4641dc0c42f7cee96596dbeb648 (patch) | |
tree | 4f623b10aec37daf156d5b650997f3037fcbda24 /tests/auto | |
parent | bf8d74bb8e849cb9eea74ef8fdb82d8926c48880 (diff) | |
download | Qt-de0635e254b3d4641dc0c42f7cee96596dbeb648.zip Qt-de0635e254b3d4641dc0c42f7cee96596dbeb648.tar.gz Qt-de0635e254b3d4641dc0c42f7cee96596dbeb648.tar.bz2 |
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')
-rw-r--r-- | tests/auto/qtableview/tst_qtableview.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/qtableview/tst_qtableview.cpp b/tests/auto/qtableview/tst_qtableview.cpp index 4bf7c2e..bb0e226 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); |