diff -r b836c4d4fce7 -r 8b9e023e329f telephonyserverplugins/common_tsy/test/component/scripts/te_ctsycomponent_networkcontrol_individual.script --- a/telephonyserverplugins/common_tsy/test/component/scripts/te_ctsycomponent_networkcontrol_individual.script Wed Jun 09 10:58:06 2010 +0300 +++ b/telephonyserverplugins/common_tsy/test/component/scripts/te_ctsycomponent_networkcontrol_individual.script Mon Jun 21 16:59:31 2010 +0300 @@ -712,17 +712,119 @@ END_TESTCASE BA-CTSY-NTWC-MGLUAT-0001 START_TESTCASE BA-CTSY-NTWC-MSPNL-0001 -//!@SYMTestCaseID BA-CTSY-NTWC-MSPNL-0001 -//!@SYMPREQ 1551 -//!@SYMComponent telephony_ctsy -//!@SYMTestCaseDesc Test support in CTSY for RMobilePhone::StorePreferredNetworksListL -//!@SYMTestPriority High -//!@SYMTestActions Invokes RMobilePhone::StorePreferredNetworksListL -//!@SYMTestExpectedResults Pass -//!@SYMTestType CT +//!@SYMTestCaseID BA-CTSY-NTWC-MSPNL-0001 +//!@SYMPREQ 417-71654 +//!@SYMComponent telephony_ctsy +//!@SYMTestCaseDesc Test support in CTSY for RMobilePhone::StorePreferredNetworksListL +//!@SYMTestPriority High +//!@SYMTestActions 1. Invoke RMobilePhone::StorePreferredNetworksListL with a list of Preferred Networks. +//!@SYMTestExpectedResults LTSY receives the same list of Preferred Networks. +//!@SYMTestType CT RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestStorePreferredNetworksListL0001L END_TESTCASE BA-CTSY-NTWC-MSPNL-0001 +START_TESTCASE BA-CTSY-NTWC-MSPNL-0001a +//!@SYMTestCaseID BA-CTSY-NTWC-MSPNL-0001a +//!@SYMPREQ 417-71654 +//!@SYMComponent telephony_ctsy +//!@SYMTestCaseDesc Test support in CTSY for RMobilePhone::StorePreferredNetworksListL with empty list +//!@SYMTestPriority High +//!@SYMTestActions 1. Invoke RMobilePhone::StorePreferredNetworksListL with an empty list of Preferred Networks. +//!@SYMTestExpectedResults LTSY receives an empty list of Preferred Networks. +//!@SYMTestType CT +RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestStorePreferredNetworksListL0001aL +END_TESTCASE BA-CTSY-NTWC-MSPNL-0001a + +START_TESTCASE BA-CTSY-NTWC-MSPNL-0001b +//!@SYMTestCaseID BA-CTSY-NTWC-MSPNL-0001b +//!@SYMPREQ 417-71654 +//!@SYMComponent telephony_ctsy +//!@SYMTestCaseDesc Test support in CTSY for RMobilePhone::StorePreferredNetworksListL with error +//!@SYMTestPriority High +//!@SYMTestActions 1. Invoke RMobilePhone::StorePreferredNetworksListL. +//! 2. LTSY returns error. +//!@SYMTestExpectedResults Test code receives error. +//!@SYMTestType CT +RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestStorePreferredNetworksListL0001bL +END_TESTCASE BA-CTSY-NTWC-MSPNL-0001b + +START_TESTCASE BA-CTSY-NTWC-MSPNL-0002 +//!@SYMTestCaseID BA-CTSY-NTWC-MSPNL-0002 +//!@SYMPREQ 417-71654 +//!@SYMComponent telephony_ctsy +//!@SYMTestCaseDesc Test support in CTSY for Cancelling RMobilePhone::StorePreferredNetworksListL +//!@SYMTestPriority High +//!@SYMTestActions 1. Invoke RMobilePhone::StorePreferredNetworksListL. +//! 2. Cancel the outstanding request. +//! 3. LTSY ignores cancelling the request and stores the preferred networks list. +//!@SYMTestExpectedResults Request status of the operation is KErrNone. +//!@SYMTestType CT +RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestStorePreferredNetworksListL0002L +END_TESTCASE BA-CTSY-NTWC-MSPNL-0002 + +START_TESTCASE BA-CTSY-NTWC-CRMPPN-0001 +//!@SYMTestCaseID BA-CTSY-NTWC-CRMPPN-0001 +//!@SYMPREQ 417-71654 +//!@SYMComponent telephony_ctsy +//!@SYMTestCaseDesc Test support in CTSY for CRetrieveMobilePhonePreferredNetworks::Start +//!@SYMTestPriority High +//!@SYMTestActions 1. Invoke CRetrieveMobilePhonePreferredNetworks::Start. +//!@SYMTestExpectedResults Test code receives the preferred network list. +//!@SYMTestType CT +RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestRetrieveMobilePhonePreferredNetworks0001L +END_TESTCASE BA-CTSY-NTWC-CRMPPN-0001 + +START_TESTCASE BA-CTSY-NTWC-CRMPPN-0001a +//!@SYMTestCaseID BA-CTSY-NTWC-CRMPPN-0001a +//!@SYMPREQ 417-71654 +//!@SYMComponent telephony_ctsy +//!@SYMTestCaseDesc Test support in CTSY for CRetrieveMobilePhonePreferredNetworks::Start +//!@SYMTestPriority High +//!@SYMTestActions 1. Invoke CRetrieveMobilePhonePreferredNetworks::Start. +//!@SYMTestExpectedResults Test code receives the preferred network list. +//!@SYMTestType CT +RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestRetrieveMobilePhonePreferredNetworks0001aL +END_TESTCASE BA-CTSY-NTWC-CRMPPN-0001a + +START_TESTCASE BA-CTSY-NTWC-CRMPPN-0001b +//!@SYMTestCaseID BA-CTSY-NTWC-CRMPPN-0001b +//!@SYMPREQ 417-71654 +//!@SYMComponent telephony_ctsy +//!@SYMTestCaseDesc Test support in CTSY for CRetrieveMobilePhonePreferredNetworks::Start with empty list +//!@SYMTestPriority High +//!@SYMTestActions 1. Invoke CRetrieveMobilePhonePreferredNetworks::Start. +//! 2. LTSY returns an empty list of preferred networks. +//!@SYMTestExpectedResults Test code receives an empty list of preferred networks. +//!@SYMTestType CT +RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestRetrieveMobilePhonePreferredNetworks0001bL +END_TESTCASE BA-CTSY-NTWC-CRMPPN-0001b + +START_TESTCASE BA-CTSY-NTWC-CRMPPN-0001c +//!@SYMTestCaseID BA-CTSY-NTWC-CRMPPN-0001c +//!@SYMPREQ 417-71654 +//!@SYMComponent telephony_ctsy +//!@SYMTestCaseDesc Test support in CTSY for CRetrieveMobilePhonePreferredNetworks::Start with error +//!@SYMTestPriority High +//!@SYMTestActions 1. Invoke CRetrieveMobilePhonePreferredNetworks::Start. +//! 2. LTSY returns error. +//!@SYMTestExpectedResults Test code receives error. +//!@SYMTestType CT +RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestRetrieveMobilePhonePreferredNetworks0001cL +END_TESTCASE BA-CTSY-NTWC-CRMPPN-0001c + +START_TESTCASE BA-CTSY-NTWC-CRMPPN-0002 +//!@SYMTestCaseID BA-CTSY-NTWC-CRMPPN-0002 +//!@SYMPREQ 417-71654 +//!@SYMComponent telephony_ctsy +//!@SYMTestCaseDesc Test support in CTSY for Cancelling CRetrieveMobilePhonePreferredNetworks::Start +//!@SYMTestPriority High +//!@SYMTestActions 1. Invoke CRetrieveMobilePhonePreferredNetworks::Start. +//! 2. Cancel outstanding request. +//!@SYMTestExpectedResults Request status of the operation is KErrCancel +//!@SYMTestType CT +RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestRetrieveMobilePhonePreferredNetworks0002L +END_TESTCASE BA-CTSY-NTWC-CRMPPN-0002 + START_TESTCASE BA-CTSY-NTWC-MGNRS-0001 //!@SYMTestCaseID BA-CTSY-NTWC-MGNRS-0001 //!@SYMPREQ 1551 @@ -761,17 +863,31 @@ END_TESTCASE BA-CTSY-NTWC-MGNRS-0004 START_TESTCASE BA-CTSY-NTWC-MNPNLC-0001 -//!@SYMTestCaseID BA-CTSY-NTWC-MNPNLC-0001 -//!@SYMPREQ 1551 -//!@SYMComponent telephony_ctsy -//!@SYMTestCaseDesc Test support in CTSY for RMobilePhone::NotifyPreferredNetworksListChange -//!@SYMTestPriority High -//!@SYMTestActions Invokes RMobilePhone::NotifyPreferredNetworksListChange -//!@SYMTestExpectedResults Pass -//!@SYMTestType CT +//!@SYMPREQ 417-71654 +//!@SYMComponent telephony_ctsy +//!@SYMTestCaseDesc Test support in CTSY for RMobilePhone::NotifyPreferredNetworksListChange +//!@SYMTestPriority High +//!@SYMTestActions 1. Invoke RMobilePhone::NotifyPreferredNetworksListChange. +//! 2. Invoke RMobilePhone::StorePreferredNetworksListL. +//!@SYMTestExpectedResults Test code receives preferred network list notification +//!@SYMTestType CT RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestNotifyPreferredNetworksListChange0001L END_TESTCASE BA-CTSY-NTWC-MNPNLC-0001 +START_TESTCASE BA-CTSY-NTWC-MNPNLC-0002 +//!@SYMTestCaseID BA-CTSY-NTWC-MNPNLC-0002 +//!@SYMPREQ 417-71654 +//!@SYMComponent telephony_ctsy +//!@SYMTestCaseDesc Test support in CTSY for Cancelling RMobilePhone::NotifyPreferredNetworksListChange +//!@SYMTestPriority High +//!@SYMTestActions 1. Invoke RMobilePhone::NotifyPreferredNetworksListChange. +//! 2. Cancel subscription to preferred network list change. +//! 3. Invoke RMobilePhone::StorePreferredNetworksListL. +//!@SYMTestExpectedResults Test code does not receive preferred network list notification +//!@SYMTestType CT +RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestNotifyPreferredNetworksListChange0002L +END_TESTCASE BA-CTSY-NTWC-MNPNLC-0002 + START_TESTCASE BA-CTSY-NTWC-MNNSSC-0001 //!@SYMTestCaseID BA-CTSY-NTWC-MNNSSC-0001 //!@SYMPREQ 1551