telephonyserver/etelmultimode/TETEL/te_EtelMM/TE_mmphone.cpp
branchRCL_3
changeset 20 07a122eea281
parent 19 630d2f34d719
--- a/telephonyserver/etelmultimode/TETEL/te_EtelMM/TE_mmphone.cpp	Tue Aug 31 16:23:08 2010 +0300
+++ b/telephonyserver/etelmultimode/TETEL/te_EtelMM/TE_mmphone.cpp	Wed Sep 01 12:40:21 2010 +0100
@@ -86,7 +86,6 @@
 	TestMobileAPNControlListServiceStatus(mmPhone, reqStatus);
 	TestMobileAirTime(mmPhone, reqStatus);
 	TestTerminateAllCalls(mmPhone, reqStatus);
-	TestTerminateActiveCalls(mmPhone, reqStatus);
 	TestMobileAutoRedial(mmPhone, reqStatus);
 	TestMobilePersonalisation(mmPhone, reqStatus);
 	TestSmartCardHandling(mmPhone, reqStatus);
@@ -5660,29 +5659,7 @@
 	User::WaitForRequest(aReqStatus);
 	TEST(aReqStatus.Int() == KErrCancel);
 	}	
-
-void CTestPhone::TestTerminateActiveCalls(RMobilePhone& aPhone, TRequestStatus &aReqStatus)
-    {
-    //Test asynchronous TerminateActiveCalls - just returns KErrNone
-    
-    aPhone.TerminateActiveCalls(aReqStatus);
-    User::WaitForRequest(aReqStatus);
-    TEST(aReqStatus.Int()==KErrNone);
-    if (KErrNone == aReqStatus.Int())
-        INFO_PRINTF2(_L("Test %d - RMobilePhone::TerminateActiveCalls (async) passed"), iTestCount++);
-    else
-        ERR_PRINTF2(_L("Test %d - RMobilePhone::TerminateActiveCalls (async) failed"), iTestCount++);
-    //Test asynchronous TerminateActiveCalls & Cancel
-    
-    aPhone.TerminateActiveCalls(aReqStatus);
-    aPhone.CancelAsyncRequest(EMobilePhoneTerminateActiveCalls);
-    User::WaitForRequest(aReqStatus);
-    TEST(aReqStatus.Int() == KErrCancel);
-    if (KErrCancel == aReqStatus.Int())
-        INFO_PRINTF2(_L("Test %d - Cancelation of  RMobilePhone::TerminateActiveCalls (async) passed"), iTestCount++);
-    else
-        ERR_PRINTF2(_L("Test %d - Cancelation of  RMobilePhone::TerminateActiveCalls (async) failed"), iTestCount++);
-    }   
+	
 
 /**************************************************************/
 //