From 24750ce0624e8b6ec66d07d7d00877c4a928dfc3 Mon Sep 17 00:00:00 2001 From: Yulong Bai Date: Wed, 14 Mar 2018 16:38:00 +0100 Subject: 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 --- tests/auto/controls/data/tst_slider.qml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/auto') 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() } } -- cgit v1.2.3