summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/animation
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@digia.com>2014-01-29 16:34:03 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-30 22:10:22 +0100
commitf6723cf0d479823a34e874bc4cc9ff43e040793a (patch)
tree79cf13d078d86622dfae3b82663556dff09b4c0f /tests/auto/corelib/animation
parentf3df57e7b839fe8cee0ea377a4f2951073e7255a (diff)
tst_qpauseanimation: Fix condition in QEXPECT_FAIL.
introduced by b0b22e8d496e753642fa8ddb05f167a722c65c00 . Change-Id: Ia57331ce9373a414f2bc56962412f20ef83bd7ca Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Diffstat (limited to 'tests/auto/corelib/animation')
-rw-r--r--tests/auto/corelib/animation/qpauseanimation/tst_qpauseanimation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/corelib/animation/qpauseanimation/tst_qpauseanimation.cpp b/tests/auto/corelib/animation/qpauseanimation/tst_qpauseanimation.cpp
index 529069552b..419fa1af20 100644
--- a/tests/auto/corelib/animation/qpauseanimation/tst_qpauseanimation.cpp
+++ b/tests/auto/corelib/animation/qpauseanimation/tst_qpauseanimation.cpp
@@ -262,7 +262,7 @@ void tst_QPauseAnimation::pauseResume()
QTRY_COMPARE(animation.state(), QAbstractAnimation::Stopped);
#ifdef Q_OS_WIN
- if (animation.m_updateCurrentTimeCount != 3)
+ if (animation.m_updateCurrentTimeCount < 3)
QEXPECT_FAIL("", winTimerError, Abort);
#endif
QVERIFY2(animation.m_updateCurrentTimeCount >= 3, qPrintable(