equal
deleted
inserted
replaced
381 RTimer timer; |
381 RTimer timer; |
382 test(timer.CreateLocal()==KErrNone); |
382 test(timer.CreateLocal()==KErrNone); |
383 TRequestStatus timerStat; |
383 TRequestStatus timerStat; |
384 timer.After(timerStat,20*1000000); |
384 timer.After(timerStat,20*1000000); |
385 User::WaitForRequest(timerStat,keyStat); |
385 User::WaitForRequest(timerStat,keyStat); |
386 TInt key = 0; |
|
387 if(keyStat!=KRequestPending) |
386 if(keyStat!=KRequestPending) |
388 key = test.Console()->KeyCode(); |
387 (void)test.Console()->KeyCode(); |
389 timer.Cancel(); |
388 timer.Cancel(); |
390 test.Console()->ReadCancel(); |
389 test.Console()->ReadCancel(); |
391 User::WaitForAnyRequest(); |
390 User::WaitForAnyRequest(); |
392 } |
391 } |
393 #endif |
392 #endif |