diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2016-08-12 16:46:20 +0200 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2016-08-13 15:07:09 +0000 |
commit | 16834ed8cb68b5aa5efecf5c670d971a59e2419c (patch) | |
tree | 76cb8d1d357824fab24d7f01643032352a5bc2ee /tests/auto/quick/qquickflickable | |
parent | d54d28981c90d23d7fa0cfc5a9e3049e3e4df6b5 (diff) |
autotests: remove qWait(1) in touch sequences
After d04982dc84d66bec92b4b3767538676cf925ef17 in qtbase,
QTest::touchEvent() and QTouchEventSequence::commit()
slow down every sequence of touch events, so we don't
need to do it in individual tests.
Change-Id: Id8133b100797d4bd2d7282ee874dbb81ed2cab47
Reviewed-by: Liang Qi <liang.qi@qt.io>
Diffstat (limited to 'tests/auto/quick/qquickflickable')
-rw-r--r-- | tests/auto/quick/qquickflickable/tst_qquickflickable.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/auto/quick/qquickflickable/tst_qquickflickable.cpp b/tests/auto/quick/qquickflickable/tst_qquickflickable.cpp index 4a0b8a8bdf..96fe97f372 100644 --- a/tests/auto/quick/qquickflickable/tst_qquickflickable.cpp +++ b/tests/auto/quick/qquickflickable/tst_qquickflickable.cpp @@ -1461,7 +1461,6 @@ void tst_qquickflickable::flickWithTouch(QQuickWindow *window, QTouchDevice *tou for (int i = 1; i <= 8; ++i) { QTest::touchEvent(window, touchDevice).move(0, from + i*diff/8, window); QQuickTouchUtils::flush(window); - QTest::qWait(1); // because Flickable pays attention to velocity, we need some time between movements } QTest::touchEvent(window, touchDevice).release(0, to, window); QQuickTouchUtils::flush(window); |