summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormread <qt-info@nokia.com>2009-09-29 10:08:58 (GMT)
committermread <qt-info@nokia.com>2009-09-29 10:12:27 (GMT)
commitbb2babb04df0923d41614289623dc93cdfcf7109 (patch)
tree74c959bb9b4f344bdd992589b1c515e2fd295c60
parent39604894946c3c0d623c0073ccf027a8e6df120a (diff)
downloadQt-bb2babb04df0923d41614289623dc93cdfcf7109.zip
Qt-bb2babb04df0923d41614289623dc93cdfcf7109.tar.gz
Qt-bb2babb04df0923d41614289623dc93cdfcf7109.tar.bz2
Making tst_qParallelAnimationGroup work for Symbian
The animation was not starting in time, as events from Symbian app start up had not had time to be flushed through. The addition of a 1s QTest::qWait gives plenty of time for the app to settle. Reviewed-by: Janne Anttila
-rw-r--r--tests/auto/qparallelanimationgroup/tst_qparallelanimationgroup.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/qparallelanimationgroup/tst_qparallelanimationgroup.cpp b/tests/auto/qparallelanimationgroup/tst_qparallelanimationgroup.cpp
index a129f7f..acd23b0 100644
--- a/tests/auto/qparallelanimationgroup/tst_qparallelanimationgroup.cpp
+++ b/tests/auto/qparallelanimationgroup/tst_qparallelanimationgroup.cpp
@@ -379,6 +379,10 @@ void tst_QParallelAnimationGroup::updateChildrenWithRunningGroup()
void tst_QParallelAnimationGroup::deleteChildrenWithRunningGroup()
{
+#if defined(Q_OS_SYMBIAN)
+ // give the Symbian app start event queue time to clear
+ QTest::qWait(1000);
+#endif
// test if children can be activated when their group is stopped
QParallelAnimationGroup group;