telephonyserverplugins/common_tsy/test/component/src/cctsysubscriberinfofu.cpp
branchRCL_3
changeset 8 3f227a47ad75
parent 0 3553901f7fa8
equal deleted inserted replaced
7:fe8b59ab9fa0 8:3f227a47ad75
   584 	iPhone.GetServiceTable(reqStatus, RMobilePhone::ESIMServiceTable, tableData);
   584 	iPhone.GetServiceTable(reqStatus, RMobilePhone::ESIMServiceTable, tableData);
   585 	iPhone.CancelAsyncRequest(EMobilePhoneGetServiceTable);
   585 	iPhone.CancelAsyncRequest(EMobilePhoneGetServiceTable);
   586 
   586 
   587 	User::WaitForRequest(reqStatus);	
   587 	User::WaitForRequest(reqStatus);	
   588 	// There is no cancel for this ipc, so status is KErrNone
   588 	// There is no cancel for this ipc, so status is KErrNone
       
   589 #ifdef __WINS__
   589 	ASSERT_EQUALS(KErrCancel, reqStatus.Int());
   590 	ASSERT_EQUALS(KErrCancel, reqStatus.Int());
   590 
   591 #else
       
   592 	// No support for cancel in hardware. See EMobilePhoneGetServiceTable in CMmPhoneTsy::CancelService.
       
   593 	ASSERT_EQUALS(KErrTimedOut, reqStatus.Int());
       
   594 #endif
       
   595 	
   591 	AssertMockLtsyStatusL();
   596 	AssertMockLtsyStatusL();
   592 	CleanupStack::PopAndDestroy(this);
   597 	CleanupStack::PopAndDestroy(this);
   593 	
   598 	
   594 	}
   599 	}
   595 
   600