summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2019-09-19 13:23:10 +0200
committerLiang Qi <liang.qi@qt.io>2019-09-25 09:34:59 +0200
commit219b55faa4848a4967bb34e34d4326a854b12e2a (patch)
tree60c54edb941504224d04abb4e7a46ff3a1508f8c
parent5b9e833e77b269a41f51aa65c238c8b23a82b7a7 (diff)
tst_tumbler: adapt test after changes to PathView
3df387d63421f09533ab72e2a73fb5d259693120 changed the flicking behavior of PathView slightly, so we need to adapt this test to reflect those changes. Fixes: QTBUG-78471 Change-Id: I093bfea9a4d089b4f61c405ab41aa1f4ea77d422 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
-rw-r--r--tests/auto/extras/data/tst_tumbler.qml3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/auto/extras/data/tst_tumbler.qml b/tests/auto/extras/data/tst_tumbler.qml
index e3e444714..54365f14d 100644
--- a/tests/auto/extras/data/tst_tumbler.qml
+++ b/tests/auto/extras/data/tst_tumbler.qml
@@ -349,8 +349,7 @@ Item {
var pos = Qt.point(columnXCenter(tumbler, 0), tumbler.__style.padding.top);
mouseDrag(tumbler, pos.x, pos.y, 0, tumbler.height - tumbler.__style.padding.bottom,
Qt.LeftButton, Qt.NoModifier, 300);
- // See QTBUG-78471
- //tryCompare(tumbler.__viewAt(0), "offset", Settings.styleName === "Flat" ? 6.0 : 4.0);
+ tryCompare(tumbler.__viewAt(0), "offset", Settings.styleName === "Flat" ? 5.0 : 3.0);
tumbler.height += 100;
var padding = tumbler.__style.padding;