telephonyserverplugins/common_tsy/test/component/scripts/te_ctsycomponent_networkcontrol_individual.script
branchRCL_3
changeset 15 8b9e023e329f
parent 0 3553901f7fa8
child 18 17af172ffa5f
equal deleted inserted replaced
13:b836c4d4fce7 15:8b9e023e329f
   710 //!@SYMTestType CT
   710 //!@SYMTestType CT
   711 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestGetLastUsedAccessTechnology0001L
   711 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestGetLastUsedAccessTechnology0001L
   712 END_TESTCASE BA-CTSY-NTWC-MGLUAT-0001
   712 END_TESTCASE BA-CTSY-NTWC-MGLUAT-0001
   713 
   713 
   714 START_TESTCASE BA-CTSY-NTWC-MSPNL-0001
   714 START_TESTCASE BA-CTSY-NTWC-MSPNL-0001
   715 //!@SYMTestCaseID BA-CTSY-NTWC-MSPNL-0001
   715 //!@SYMTestCaseID          BA-CTSY-NTWC-MSPNL-0001
   716 //!@SYMPREQ 1551
   716 //!@SYMPREQ                417-71654
   717 //!@SYMComponent telephony_ctsy
   717 //!@SYMComponent           telephony_ctsy
   718 //!@SYMTestCaseDesc Test support in CTSY for RMobilePhone::StorePreferredNetworksListL
   718 //!@SYMTestCaseDesc        Test support in CTSY for RMobilePhone::StorePreferredNetworksListL
   719 //!@SYMTestPriority High
   719 //!@SYMTestPriority        High
   720 //!@SYMTestActions Invokes RMobilePhone::StorePreferredNetworksListL
   720 //!@SYMTestActions         1. Invoke RMobilePhone::StorePreferredNetworksListL with a list of Preferred Networks.
   721 //!@SYMTestExpectedResults Pass
   721 //!@SYMTestExpectedResults LTSY receives the same list of Preferred Networks. 
   722 //!@SYMTestType CT
   722 //!@SYMTestType            CT
   723 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestStorePreferredNetworksListL0001L
   723 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestStorePreferredNetworksListL0001L
   724 END_TESTCASE BA-CTSY-NTWC-MSPNL-0001
   724 END_TESTCASE BA-CTSY-NTWC-MSPNL-0001
   725 
   725 
       
   726 START_TESTCASE BA-CTSY-NTWC-MSPNL-0001a
       
   727 //!@SYMTestCaseID          BA-CTSY-NTWC-MSPNL-0001a
       
   728 //!@SYMPREQ                417-71654
       
   729 //!@SYMComponent           telephony_ctsy
       
   730 //!@SYMTestCaseDesc        Test support in CTSY for RMobilePhone::StorePreferredNetworksListL with empty list
       
   731 //!@SYMTestPriority        High
       
   732 //!@SYMTestActions         1. Invoke RMobilePhone::StorePreferredNetworksListL with an empty list of Preferred Networks.
       
   733 //!@SYMTestExpectedResults LTSY receives an empty list of Preferred Networks.
       
   734 //!@SYMTestType            CT
       
   735 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestStorePreferredNetworksListL0001aL
       
   736 END_TESTCASE BA-CTSY-NTWC-MSPNL-0001a
       
   737 
       
   738 START_TESTCASE BA-CTSY-NTWC-MSPNL-0001b
       
   739 //!@SYMTestCaseID          BA-CTSY-NTWC-MSPNL-0001b
       
   740 //!@SYMPREQ                417-71654
       
   741 //!@SYMComponent           telephony_ctsy
       
   742 //!@SYMTestCaseDesc        Test support in CTSY for RMobilePhone::StorePreferredNetworksListL with error
       
   743 //!@SYMTestPriority        High
       
   744 //!@SYMTestActions         1. Invoke RMobilePhone::StorePreferredNetworksListL.
       
   745 //!                        2. LTSY returns error.  
       
   746 //!@SYMTestExpectedResults Test code receives error. 
       
   747 //!@SYMTestType            CT
       
   748 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestStorePreferredNetworksListL0001bL
       
   749 END_TESTCASE BA-CTSY-NTWC-MSPNL-0001b
       
   750 
       
   751 START_TESTCASE BA-CTSY-NTWC-MSPNL-0002
       
   752 //!@SYMTestCaseID          BA-CTSY-NTWC-MSPNL-0002
       
   753 //!@SYMPREQ                417-71654
       
   754 //!@SYMComponent           telephony_ctsy
       
   755 //!@SYMTestCaseDesc        Test support in CTSY for Cancelling RMobilePhone::StorePreferredNetworksListL
       
   756 //!@SYMTestPriority        High
       
   757 //!@SYMTestActions         1. Invoke RMobilePhone::StorePreferredNetworksListL.
       
   758 //!                        2. Cancel the outstanding request.
       
   759 //!                        3. LTSY ignores cancelling the request and stores the preferred networks list.
       
   760 //!@SYMTestExpectedResults Request status of the operation is KErrNone. 
       
   761 //!@SYMTestType            CT
       
   762 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestStorePreferredNetworksListL0002L
       
   763 END_TESTCASE BA-CTSY-NTWC-MSPNL-0002
       
   764 
       
   765 START_TESTCASE BA-CTSY-NTWC-CRMPPN-0001
       
   766 //!@SYMTestCaseID          BA-CTSY-NTWC-CRMPPN-0001
       
   767 //!@SYMPREQ                417-71654
       
   768 //!@SYMComponent           telephony_ctsy
       
   769 //!@SYMTestCaseDesc        Test support in CTSY for CRetrieveMobilePhonePreferredNetworks::Start
       
   770 //!@SYMTestPriority        High
       
   771 //!@SYMTestActions         1. Invoke CRetrieveMobilePhonePreferredNetworks::Start.
       
   772 //!@SYMTestExpectedResults Test code receives the preferred network list. 
       
   773 //!@SYMTestType            CT
       
   774 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestRetrieveMobilePhonePreferredNetworks0001L
       
   775 END_TESTCASE BA-CTSY-NTWC-CRMPPN-0001
       
   776 
       
   777 START_TESTCASE BA-CTSY-NTWC-CRMPPN-0001a
       
   778 //!@SYMTestCaseID          BA-CTSY-NTWC-CRMPPN-0001a
       
   779 //!@SYMPREQ                417-71654
       
   780 //!@SYMComponent           telephony_ctsy
       
   781 //!@SYMTestCaseDesc        Test support in CTSY for CRetrieveMobilePhonePreferredNetworks::Start
       
   782 //!@SYMTestPriority        High
       
   783 //!@SYMTestActions         1. Invoke CRetrieveMobilePhonePreferredNetworks::Start.
       
   784 //!@SYMTestExpectedResults Test code receives the preferred network list. 
       
   785 //!@SYMTestType            CT
       
   786 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestRetrieveMobilePhonePreferredNetworks0001aL
       
   787 END_TESTCASE BA-CTSY-NTWC-CRMPPN-0001a
       
   788 
       
   789 START_TESTCASE BA-CTSY-NTWC-CRMPPN-0001b
       
   790 //!@SYMTestCaseID          BA-CTSY-NTWC-CRMPPN-0001b
       
   791 //!@SYMPREQ                417-71654
       
   792 //!@SYMComponent           telephony_ctsy
       
   793 //!@SYMTestCaseDesc        Test support in CTSY for CRetrieveMobilePhonePreferredNetworks::Start with empty list
       
   794 //!@SYMTestPriority        High
       
   795 //!@SYMTestActions         1. Invoke CRetrieveMobilePhonePreferredNetworks::Start.
       
   796 //!                        2. LTSY returns an empty list of preferred networks.
       
   797 //!@SYMTestExpectedResults Test code receives an empty list of preferred networks. 
       
   798 //!@SYMTestType            CT
       
   799 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestRetrieveMobilePhonePreferredNetworks0001bL
       
   800 END_TESTCASE BA-CTSY-NTWC-CRMPPN-0001b
       
   801 
       
   802 START_TESTCASE BA-CTSY-NTWC-CRMPPN-0001c
       
   803 //!@SYMTestCaseID          BA-CTSY-NTWC-CRMPPN-0001c
       
   804 //!@SYMPREQ                417-71654
       
   805 //!@SYMComponent           telephony_ctsy
       
   806 //!@SYMTestCaseDesc        Test support in CTSY for CRetrieveMobilePhonePreferredNetworks::Start with error
       
   807 //!@SYMTestPriority        High
       
   808 //!@SYMTestActions         1. Invoke CRetrieveMobilePhonePreferredNetworks::Start.
       
   809 //!                        2. LTSY returns error.
       
   810 //!@SYMTestExpectedResults Test code receives error. 
       
   811 //!@SYMTestType            CT
       
   812 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestRetrieveMobilePhonePreferredNetworks0001cL
       
   813 END_TESTCASE BA-CTSY-NTWC-CRMPPN-0001c
       
   814 
       
   815 START_TESTCASE BA-CTSY-NTWC-CRMPPN-0002
       
   816 //!@SYMTestCaseID          BA-CTSY-NTWC-CRMPPN-0002
       
   817 //!@SYMPREQ                417-71654
       
   818 //!@SYMComponent           telephony_ctsy
       
   819 //!@SYMTestCaseDesc        Test support in CTSY for Cancelling CRetrieveMobilePhonePreferredNetworks::Start
       
   820 //!@SYMTestPriority        High
       
   821 //!@SYMTestActions         1. Invoke CRetrieveMobilePhonePreferredNetworks::Start.
       
   822 //!                        2. Cancel outstanding request.
       
   823 //!@SYMTestExpectedResults Request status of the operation is KErrCancel
       
   824 //!@SYMTestType            CT
       
   825 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestRetrieveMobilePhonePreferredNetworks0002L
       
   826 END_TESTCASE BA-CTSY-NTWC-CRMPPN-0002
       
   827 
   726 START_TESTCASE BA-CTSY-NTWC-MGNRS-0001
   828 START_TESTCASE BA-CTSY-NTWC-MGNRS-0001
   727 //!@SYMTestCaseID BA-CTSY-NTWC-MGNRS-0001
   829 //!@SYMTestCaseID BA-CTSY-NTWC-MGNRS-0001
   728 //!@SYMPREQ 1551
   830 //!@SYMPREQ 1551
   729 //!@SYMCR 1595
   831 //!@SYMCR 1595
   730 //!@SYMComponent telephony_ctsy
   832 //!@SYMComponent telephony_ctsy
   759 //!@SYMTestType CT
   861 //!@SYMTestType CT
   760 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestGetNetworkRegistrationStatus0004L
   862 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestGetNetworkRegistrationStatus0004L
   761 END_TESTCASE BA-CTSY-NTWC-MGNRS-0004
   863 END_TESTCASE BA-CTSY-NTWC-MGNRS-0004
   762 
   864 
   763 START_TESTCASE BA-CTSY-NTWC-MNPNLC-0001
   865 START_TESTCASE BA-CTSY-NTWC-MNPNLC-0001
   764 //!@SYMTestCaseID BA-CTSY-NTWC-MNPNLC-0001
   866 //!@SYMPREQ                417-71654
   765 //!@SYMPREQ 1551
   867 //!@SYMComponent           telephony_ctsy
   766 //!@SYMComponent telephony_ctsy
   868 //!@SYMTestCaseDesc        Test support in CTSY for RMobilePhone::NotifyPreferredNetworksListChange
   767 //!@SYMTestCaseDesc Test support in CTSY for RMobilePhone::NotifyPreferredNetworksListChange
   869 //!@SYMTestPriority        High
   768 //!@SYMTestPriority High
   870 //!@SYMTestActions         1. Invoke RMobilePhone::NotifyPreferredNetworksListChange.
   769 //!@SYMTestActions Invokes RMobilePhone::NotifyPreferredNetworksListChange
   871 //!                        2. Invoke RMobilePhone::StorePreferredNetworksListL.
   770 //!@SYMTestExpectedResults Pass
   872 //!@SYMTestExpectedResults Test code receives preferred network list notification
   771 //!@SYMTestType CT
   873 //!@SYMTestType            CT
   772 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestNotifyPreferredNetworksListChange0001L
   874 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestNotifyPreferredNetworksListChange0001L
   773 END_TESTCASE BA-CTSY-NTWC-MNPNLC-0001
   875 END_TESTCASE BA-CTSY-NTWC-MNPNLC-0001
   774 
   876 
       
   877 START_TESTCASE BA-CTSY-NTWC-MNPNLC-0002
       
   878 //!@SYMTestCaseID          BA-CTSY-NTWC-MNPNLC-0002
       
   879 //!@SYMPREQ                417-71654
       
   880 //!@SYMComponent           telephony_ctsy
       
   881 //!@SYMTestCaseDesc        Test support in CTSY for Cancelling RMobilePhone::NotifyPreferredNetworksListChange
       
   882 //!@SYMTestPriority        High
       
   883 //!@SYMTestActions         1. Invoke RMobilePhone::NotifyPreferredNetworksListChange.
       
   884 //!                        2. Cancel subscription to preferred network list change.
       
   885 //!                        3. Invoke RMobilePhone::StorePreferredNetworksListL.
       
   886 //!@SYMTestExpectedResults Test code does not receive preferred network list notification
       
   887 //!@SYMTestType            CT
       
   888 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestNotifyPreferredNetworksListChange0002L
       
   889 END_TESTCASE BA-CTSY-NTWC-MNPNLC-0002
       
   890 
   775 START_TESTCASE BA-CTSY-NTWC-MNNSSC-0001
   891 START_TESTCASE BA-CTSY-NTWC-MNNSSC-0001
   776 //!@SYMTestCaseID BA-CTSY-NTWC-MNNSSC-0001
   892 //!@SYMTestCaseID BA-CTSY-NTWC-MNNSSC-0001
   777 //!@SYMPREQ 1551
   893 //!@SYMPREQ 1551
   778 //!@SYMComponent telephony_ctsy
   894 //!@SYMComponent telephony_ctsy
   779 //!@SYMTestCaseDesc Test support in CTSY for RMobilePhone::NotifyNetworkSelectionSettingChange
   895 //!@SYMTestCaseDesc Test support in CTSY for RMobilePhone::NotifyNetworkSelectionSettingChange