kerneltest/e32test/secure/t_platsecconfig.cpp
changeset 109 b3a1d9898418
parent 0 a41df078684a
child 257 3e88ff8f41d5
child 271 dc268b18d709
equal deleted inserted replaced
102:ef2a444a7410 109:b3a1d9898418
   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;
       
   477 	if(keyStat!=KRequestPending)
   476 	if(keyStat!=KRequestPending)
   478 		key = test.Console()->KeyCode();
   477 		(void)test.Console()->KeyCode();
   479 	timer.Cancel();
   478 	timer.Cancel();
   480 	test.Console()->ReadCancel();
   479 	test.Console()->ReadCancel();
   481 	User::WaitForAnyRequest();
   480 	User::WaitForAnyRequest();
   482 
   481 
   483 	test.End();
   482 	test.End();