summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2020-10-12 17:14:41 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-10-13 08:44:42 +0200
commit044231c4d284f5d22694a4ed9d0ee75d17e8dda8 (patch)
treec3a32c73a5271af831209243c100de64f57346c4 /tests
parent4e10abb4c14df2ffc162a0eb017229dfa2bab1fb (diff)
Remove timeStep parameter from QAnimationDrive::advanceAnimation
This reverts commit 7544c242cb935b5ff625e54c3facceea535c6ae5, which reverted the first removal of the parameter under the assumption that it caused flakiness in tests. The flakiness was instead caused by changes to the wait functions in QTest, so remove the parameter again. Change-Id: I98154d5d7268375aebbcb09de757e75d9b765c5f Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/corelib/animation/qpropertyanimation/tst_qpropertyanimation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/corelib/animation/qpropertyanimation/tst_qpropertyanimation.cpp b/tests/auto/corelib/animation/qpropertyanimation/tst_qpropertyanimation.cpp
index f5cff8a2e0..ada5d29f5c 100644
--- a/tests/auto/corelib/animation/qpropertyanimation/tst_qpropertyanimation.cpp
+++ b/tests/auto/corelib/animation/qpropertyanimation/tst_qpropertyanimation.cpp
@@ -115,10 +115,10 @@ public:
static const int interval = 1000/60;
qint64 until = m_elapsed + ms;
while (m_elapsed < until) {
- advanceAnimation(m_elapsed);
+ advanceAnimation();
m_elapsed += interval;
}
- advanceAnimation(m_elapsed);
+ advanceAnimation();
// This is to make sure that animations that were started with DeleteWhenStopped
// will actually delete themselves within the test function.
// Normally, they won't be deleted until the main event loop is processed.