diff options
Diffstat (limited to 'tests/auto/qmltest/events/tst_touch.qml')
-rw-r--r-- | tests/auto/qmltest/events/tst_touch.qml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/auto/qmltest/events/tst_touch.qml b/tests/auto/qmltest/events/tst_touch.qml index b7fa701429..ab54eb9e09 100644 --- a/tests/auto/qmltest/events/tst_touch.qml +++ b/tests/auto/qmltest/events/tst_touch.qml @@ -157,27 +157,27 @@ MultiPointTouchArea { compare(touchPoints.length, 1); verify(comparePoint(touchPoints[0], first, 0, 0)); - sequence.stationary(first); + sequence.stationary(first, null, 0, 0); sequence.press(second, null, 1, 0); sequence.commit(); - compare(touchUpdatedSpy.count, 2); + compare(touchUpdatedSpy.count, 3); touchPoints = touchUpdatedSpy.signalArguments[1][0]; compare(touchPoints.length, 2); verify(comparePoint(touchPoints[0], first, 0, 0)); verify(comparePoint(touchPoints[1], second, 1, 0)); - sequence.release(first); + sequence.release(first, null, 0, 0); sequence.move(second, null, 1, 1); sequence.commit(); - compare(touchUpdatedSpy.count, 3); - touchPoints = touchUpdatedSpy.signalArguments[2][0]; + compare(touchUpdatedSpy.count, 4); + touchPoints = touchUpdatedSpy.signalArguments[3][0]; compare(touchPoints.length, 1); verify(comparePoint(touchPoints[0], second, 1, 1)); sequence.release(second, null, 0, 1); sequence.commit(); - compare(touchUpdatedSpy.count, 4); - touchPoints = touchUpdatedSpy.signalArguments[3][0]; + compare(touchUpdatedSpy.count, 5); + touchPoints = touchUpdatedSpy.signalArguments[4][0]; compare(touchPoints.length, 0); } |