equal
deleted
inserted
replaced
471 RTimer timer; |
471 RTimer timer; |
472 test(timer.CreateLocal()==KErrNone); |
472 test(timer.CreateLocal()==KErrNone); |
473 TRequestStatus timerStat; |
473 TRequestStatus timerStat; |
474 timer.After(timerStat,20*1000000); |
474 timer.After(timerStat,20*1000000); |
475 User::WaitForRequest(timerStat,keyStat); |
475 User::WaitForRequest(timerStat,keyStat); |
|
476 TInt key = 0; |
476 if(keyStat!=KRequestPending) |
477 if(keyStat!=KRequestPending) |
477 (void)test.Console()->KeyCode(); |
478 key = test.Console()->KeyCode(); |
478 timer.Cancel(); |
479 timer.Cancel(); |
479 test.Console()->ReadCancel(); |
480 test.Console()->ReadCancel(); |
480 User::WaitForAnyRequest(); |
481 User::WaitForAnyRequest(); |
481 |
482 |
482 test.End(); |
483 test.End(); |