84 TestMobileMmsFunctionality(mmPhone, reqStatus); |
84 TestMobileMmsFunctionality(mmPhone, reqStatus); |
85 TestMobileAPNControlList(mmPhone, reqStatus); |
85 TestMobileAPNControlList(mmPhone, reqStatus); |
86 TestMobileAPNControlListServiceStatus(mmPhone, reqStatus); |
86 TestMobileAPNControlListServiceStatus(mmPhone, reqStatus); |
87 TestMobileAirTime(mmPhone, reqStatus); |
87 TestMobileAirTime(mmPhone, reqStatus); |
88 TestTerminateAllCalls(mmPhone, reqStatus); |
88 TestTerminateAllCalls(mmPhone, reqStatus); |
89 TestTerminateActiveCalls(mmPhone, reqStatus); |
|
90 TestMobileAutoRedial(mmPhone, reqStatus); |
89 TestMobileAutoRedial(mmPhone, reqStatus); |
91 TestMobilePersonalisation(mmPhone, reqStatus); |
90 TestMobilePersonalisation(mmPhone, reqStatus); |
92 TestSmartCardHandling(mmPhone, reqStatus); |
91 TestSmartCardHandling(mmPhone, reqStatus); |
93 TestGBAAuthenticationL(mmPhone, reqStatus); |
92 TestGBAAuthenticationL(mmPhone, reqStatus); |
94 TestMBMSAuthenticationL(mmPhone, reqStatus); |
93 TestMBMSAuthenticationL(mmPhone, reqStatus); |
5658 aPhone.TerminateAllCalls(aReqStatus); |
5657 aPhone.TerminateAllCalls(aReqStatus); |
5659 aPhone.CancelAsyncRequest(EMobilePhoneTerminateAllCalls); |
5658 aPhone.CancelAsyncRequest(EMobilePhoneTerminateAllCalls); |
5660 User::WaitForRequest(aReqStatus); |
5659 User::WaitForRequest(aReqStatus); |
5661 TEST(aReqStatus.Int() == KErrCancel); |
5660 TEST(aReqStatus.Int() == KErrCancel); |
5662 } |
5661 } |
5663 |
5662 |
5664 void CTestPhone::TestTerminateActiveCalls(RMobilePhone& aPhone, TRequestStatus &aReqStatus) |
|
5665 { |
|
5666 //Test asynchronous TerminateActiveCalls - just returns KErrNone |
|
5667 |
|
5668 aPhone.TerminateActiveCalls(aReqStatus); |
|
5669 User::WaitForRequest(aReqStatus); |
|
5670 TEST(aReqStatus.Int()==KErrNone); |
|
5671 if (KErrNone == aReqStatus.Int()) |
|
5672 INFO_PRINTF2(_L("Test %d - RMobilePhone::TerminateActiveCalls (async) passed"), iTestCount++); |
|
5673 else |
|
5674 ERR_PRINTF2(_L("Test %d - RMobilePhone::TerminateActiveCalls (async) failed"), iTestCount++); |
|
5675 //Test asynchronous TerminateActiveCalls & Cancel |
|
5676 |
|
5677 aPhone.TerminateActiveCalls(aReqStatus); |
|
5678 aPhone.CancelAsyncRequest(EMobilePhoneTerminateActiveCalls); |
|
5679 User::WaitForRequest(aReqStatus); |
|
5680 TEST(aReqStatus.Int() == KErrCancel); |
|
5681 if (KErrCancel == aReqStatus.Int()) |
|
5682 INFO_PRINTF2(_L("Test %d - Cancelation of RMobilePhone::TerminateActiveCalls (async) passed"), iTestCount++); |
|
5683 else |
|
5684 ERR_PRINTF2(_L("Test %d - Cancelation of RMobilePhone::TerminateActiveCalls (async) failed"), iTestCount++); |
|
5685 } |
|
5686 |
5663 |
5687 /**************************************************************/ |
5664 /**************************************************************/ |
5688 // |
5665 // |
5689 // Testing asynchronous retrieve of detected network list |
5666 // Testing asynchronous retrieve of detected network list |
5690 // |
5667 // |