equal
deleted
inserted
replaced
256 RTimer timer; |
256 RTimer timer; |
257 test(timer.CreateLocal()==KErrNone); |
257 test(timer.CreateLocal()==KErrNone); |
258 TRequestStatus timerStat; |
258 TRequestStatus timerStat; |
259 timer.After(timerStat,20*1000000); |
259 timer.After(timerStat,20*1000000); |
260 User::WaitForRequest(timerStat,keyStat); |
260 User::WaitForRequest(timerStat,keyStat); |
261 TInt key = 0; |
|
262 if(keyStat!=KRequestPending) |
261 if(keyStat!=KRequestPending) |
263 key = test.Console()->KeyCode(); |
262 (void)test.Console()->KeyCode(); |
264 timer.Cancel(); |
263 timer.Cancel(); |
265 test.Console()->ReadCancel(); |
264 test.Console()->ReadCancel(); |
266 User::WaitForAnyRequest(); |
265 User::WaitForAnyRequest(); |
267 |
266 |
268 test.End(); |
267 test.End(); |