summaryrefslogtreecommitdiffstats
path: root/tests/auto/qparallelanimationgroup
diff options
context:
space:
mode:
authormread <qt-info@nokia.com>2009-09-29 11:08:58 +0100
committermread <qt-info@nokia.com>2009-09-29 11:12:27 +0100
commitbb2babb04df0923d41614289623dc93cdfcf7109 (patch)
tree74c959bb9b4f344bdd992589b1c515e2fd295c60 /tests/auto/qparallelanimationgroup
parent39604894946c3c0d623c0073ccf027a8e6df120a (diff)
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
Diffstat (limited to 'tests/auto/qparallelanimationgroup')
-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 a129f7f3de..acd23b02e9 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;