diff -r f27aebe284bb -r c5af8598d22c logsui/logsapp/tsrc/ut_logsapp/src/ut_logseffecthandler.cpp --- a/logsui/logsapp/tsrc/ut_logsapp/src/ut_logseffecthandler.cpp Wed Aug 18 09:49:12 2010 +0300 +++ b/logsui/logsapp/tsrc/ut_logsapp/src/ut_logseffecthandler.cpp Thu Sep 02 20:27:05 2010 +0300 @@ -83,11 +83,17 @@ // Simulate animation progess, when dissappearing has completed effecthandler // sends signal, other progress in anim does not cause signal to be sent - QSignalSpy spy(mEffect, SIGNAL(dissappearByMovingComplete())); + QSignalSpy spyDissappearCompletion(mEffect, SIGNAL(dissappearByMovingComplete())); + QSignalSpy spyAppearStarting(mEffect, SIGNAL(appearStarting())); mEffect->moveAnimationChanged(mEffect->mMoveGroup->animationAt(1)); - QVERIFY(spy.count() == 1 ); + QVERIFY(spyDissappearCompletion.count() == 1 ); + QVERIFY(spyAppearStarting.count() == 0 ); + mEffect->moveAnimationChanged(mEffect->mMoveGroup->animationAt(2)); + QVERIFY(spyDissappearCompletion.count() == 1 ); + QVERIFY(spyAppearStarting.count() == 1 ); mEffect->moveAnimationChanged(0); - QVERIFY(spy.count() == 1 ); + QVERIFY(spyDissappearCompletion.count() == 1 ); + QVERIFY(spyAppearStarting.count() == 1 ); // When effect is running and new effect is requested, previous effect is stopped mEffect->startDissappearAppearByMovingEffect(*mLabel, *mLabel2, true, 0, 0);