equal
deleted
inserted
replaced
196 RepTimer->Start(); |
196 RepTimer->Start(); |
197 } |
197 } |
198 |
198 |
199 void TestNonPositiveTimeout() |
199 void TestNonPositiveTimeout() |
200 { |
200 { |
|
201 TInt ret; |
201 TRequestStatus x1,x2; |
202 TRequestStatus x1,x2; |
202 RTimer rt1,rt2; |
203 RTimer rt1,rt2; |
203 |
204 |
204 test.Next(_L("Test RTimer::Inactivity() with zero timeout")); |
205 test.Next(_L("Test RTimer::Inactivity() with zero timeout")); |
205 rt1.CreateLocal(); |
206 ret=rt1.CreateLocal(); |
206 rt2.CreateLocal(); |
207 ret=rt2.CreateLocal(); |
207 |
208 |
208 rt1.Inactivity(x1, 2); |
209 rt1.Inactivity(x1, 2); |
209 User::After(500000); |
210 User::After(500000); |
210 rt2.Inactivity(x2, 0); |
211 rt2.Inactivity(x2, 0); |
211 User::ResetInactivityTime(); |
212 User::ResetInactivityTime(); |