equal
deleted
inserted
replaced
149 RTimer timer; |
149 RTimer timer; |
150 test(timer.CreateLocal()==KErrNone); |
150 test(timer.CreateLocal()==KErrNone); |
151 TRequestStatus timerStat; |
151 TRequestStatus timerStat; |
152 timer.After(timerStat,10*1000000); |
152 timer.After(timerStat,10*1000000); |
153 User::WaitForRequest(timerStat,keyStat); |
153 User::WaitForRequest(timerStat,keyStat); |
154 (void)test.Console()->KeyCode(); |
154 TInt key; |
|
155 if(keyStat!=KRequestPending) |
|
156 key = test.Console()->KeyCode(); |
155 timer.Cancel(); |
157 timer.Cancel(); |
156 test.Console()->ReadCancel(); |
158 test.Console()->ReadCancel(); |
157 User::WaitForAnyRequest(); |
159 User::WaitForAnyRequest(); |
158 |
160 |
159 test.Printf(_L("\n")); |
161 test.Printf(_L("\n")); |