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