diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2020-10-07 20:36:20 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2020-10-14 22:16:19 +0200 |
commit | cd7481371ba5f9b328e9619fba98701dbe74530c (patch) | |
tree | 35f674fdaf96cc4f80237eac1281f0372a9a6020 /tests/auto/quick/qquickflickable/tst_qquickflickable.cpp | |
parent | f28e254d67ee319f39b88cb1b4a18915cfc5dc7a (diff) |
Speed up tst_qquickflickable
Speed up animations that the test spends too much time waiting to complete.
Change-Id: I7941660f3c3a89798c5cdd0eee8018a44fb89a0d
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests/auto/quick/qquickflickable/tst_qquickflickable.cpp')
-rw-r--r-- | tests/auto/quick/qquickflickable/tst_qquickflickable.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/auto/quick/qquickflickable/tst_qquickflickable.cpp b/tests/auto/quick/qquickflickable/tst_qquickflickable.cpp index 94f2451c97..9aed54b487 100644 --- a/tests/auto/quick/qquickflickable/tst_qquickflickable.cpp +++ b/tests/auto/quick/qquickflickable/tst_qquickflickable.cpp @@ -1798,7 +1798,6 @@ void tst_qquickflickable::nestedStopAtBounds() // drag away from the aligned boundary. Inner flickable dragged. moveAndPress(&view, position); - QTest::qWait(10); axis += invert ? -threshold * 2 : threshold * 2; QTest::mouseMove(&view, position); axis += invert ? -threshold : threshold; @@ -1822,7 +1821,6 @@ void tst_qquickflickable::nestedStopAtBounds() // Drag inner with equal size and contentSize moveAndPress(&view, position); - QTest::qWait(10); axis += invert ? -threshold * 2 : threshold * 2; QTest::mouseMove(&view, position); axis += invert ? -threshold : threshold; @@ -1846,7 +1844,6 @@ void tst_qquickflickable::nestedStopAtBounds() // Drag inner with size greater than contentSize moveAndPress(&view, position); - QTest::qWait(10); axis += invert ? -threshold * 2 : threshold * 2; QTest::mouseMove(&view, position); axis += invert ? -threshold : threshold; |