aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorYulong Bai <yulong.bai@qt.io>2018-03-14 16:38:00 +0100
committerJ-P Nurmi <jpnurmi@qt.io>2018-03-14 16:46:43 +0000
commit24750ce0624e8b6ec66d07d7d00877c4a928dfc3 (patch)
tree3dac1ce1272155f598079fa70eafb4fff33fa6ad /tests/auto
parent365059017722b32a3fe9ae7dec38d29944d6704c (diff)
tst_slider.qml: add release of touchEventSequence
Add release of touchEventSequence in test_touchDragThreshold to avoid possible it is reused by other test cases. Change-Id: Ie0c8a53ede5d65effc1ee501d4428179f28d6734 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/controls/data/tst_slider.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/controls/data/tst_slider.qml b/tests/auto/controls/data/tst_slider.qml
index 39e0ea17..368bc9fd 100644
--- a/tests/auto/controls/data/tst_slider.qml
+++ b/tests/auto/controls/data/tst_slider.qml
@@ -863,5 +863,7 @@ TestCase {
compare(pressedSpy.count, pressedCount)
compare(movedSpy.count, ++movedCount)
compare(control.pressed, true)
+
+ touch.release(0, control, x0 + data.dx2, y0 + data.dy2).commit()
}
}