--- a/windowing/windowserver/tauto/TDirectA.CPP Fri Apr 16 16:21:04 2010 +0300
+++ b/windowing/windowserver/tauto/TDirectA.CPP Mon May 03 13:44:32 2010 +0300
@@ -274,7 +274,21 @@
}
}
TheClient->Flush();
- iTimer=CPeriodic::NewL(0);
+ if (iId == 4)
+ {
+ // This clause is needed to prevent sub-test 9 from taking an
+ // exceedingly large amount of time. The CColorAnimation with iId 4 is
+ // the one which controls when the test stops. This raise in
+ // priority compared to the other CColorAnimations, allows it's
+ // callbacks to get through when otherwise they would take much longer
+ // due to the volume of callbacks generated by the other
+ // CColorAnimations
+ iTimer=CPeriodic::NewL(1);
+ }
+ else
+ {
+ iTimer=CPeriodic::NewL(0);
+ }
}
TPoint CColorAnimation::AbsoluteWindowPosition(TInt aWindowId/*=0*/)