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 TInt key; |
154 (void)test.Console()->KeyCode(); |
155 if(keyStat!=KRequestPending) |
|
156 key = test.Console()->KeyCode(); |
|
157 timer.Cancel(); |
155 timer.Cancel(); |
158 test.Console()->ReadCancel(); |
156 test.Console()->ReadCancel(); |
159 User::WaitForAnyRequest(); |
157 User::WaitForAnyRequest(); |
160 |
158 |
161 test.Printf(_L("\n")); |
159 test.Printf(_L("\n")); |