kerneltest/e32test/secure/t_platsecconfig.cpp
branchRCL_3
changeset 257 3e88ff8f41d5
parent 256 c1f20ce4abcf
equal deleted inserted replaced
256:c1f20ce4abcf 257:3e88ff8f41d5
   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();