737 |
737 |
738 START_TESTCASE BA-CTSY-NTWC-MSPNL-0001b |
738 START_TESTCASE BA-CTSY-NTWC-MSPNL-0001b |
739 //!@SYMTestCaseID BA-CTSY-NTWC-MSPNL-0001b |
739 //!@SYMTestCaseID BA-CTSY-NTWC-MSPNL-0001b |
740 //!@SYMPREQ 417-71654 |
740 //!@SYMPREQ 417-71654 |
741 //!@SYMComponent telephony_ctsy |
741 //!@SYMComponent telephony_ctsy |
742 //!@SYMTestCaseDesc Test support in CTSY for RMobilePhone::StorePreferredNetworksListL with error |
742 //!@SYMTestCaseDesc Test support in CTSY for RMobilePhone::StorePreferredNetworksListL |
|
743 //!@ with error and with duplicate LTSY complete message |
743 //!@SYMTestPriority High |
744 //!@SYMTestPriority High |
744 //!@SYMTestActions 1. Invoke RMobilePhone::StorePreferredNetworksListL. |
745 //!@SYMTestActions 1. Invoke RMobilePhone::StorePreferredNetworksListL. |
745 //! 2. LTSY returns error. |
746 //! 2. LTSY returns error. |
746 //!@SYMTestExpectedResults Test code receives error. |
747 //! 3. Test code receives error. |
|
748 //! 3. Invoke RMobilePhone:StorePreferredNetworksListL. |
|
749 //! 4. LTSY returns duplicate complete message with KErrNone |
|
750 //! 5. Duplicate complete message is ignored and test code receives KErrNone. |
|
751 //!@SYMTestExpectedResults All tests pass. |
747 //!@SYMTestType CT |
752 //!@SYMTestType CT |
748 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestStorePreferredNetworksListL0001bL |
753 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestStorePreferredNetworksListL0001bL |
749 END_TESTCASE BA-CTSY-NTWC-MSPNL-0001b |
754 END_TESTCASE BA-CTSY-NTWC-MSPNL-0001b |
750 |
755 |
751 START_TESTCASE BA-CTSY-NTWC-MSPNL-0002 |
756 START_TESTCASE BA-CTSY-NTWC-MSPNL-0002 |
760 //!@SYMTestExpectedResults Request status of the operation is KErrNone. |
765 //!@SYMTestExpectedResults Request status of the operation is KErrNone. |
761 //!@SYMTestType CT |
766 //!@SYMTestType CT |
762 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestStorePreferredNetworksListL0002L |
767 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestStorePreferredNetworksListL0002L |
763 END_TESTCASE BA-CTSY-NTWC-MSPNL-0002 |
768 END_TESTCASE BA-CTSY-NTWC-MSPNL-0002 |
764 |
769 |
|
770 START_TESTCASE BA-CTSY-NTWC-MSPNL-0004 |
|
771 //!@SYMTestCaseID BA-CTSY-NTWC-MSPNL-0004 |
|
772 //!@SYMPREQ 417-71654 |
|
773 //!@SYMComponent telephony_ctsy |
|
774 //!@SYMTestCaseDesc Test support in CTSY for multiple client requests to RMobilePhone::StorePreferredNetworksListL |
|
775 //!@SYMTestPriority High |
|
776 //!@SYMTestActions 1. Invoke RMobilePhone::StorePreferredNetworksListL. |
|
777 //! 2. Invoke RMobilePhone::StorePreferredNetworksListL from second client. |
|
778 //!@SYMTestExpectedResults Second cleint receives KErrServerBusy. |
|
779 //!@SYMTestType CT |
|
780 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestStorePreferredNetworksListL0004L |
|
781 END_TESTCASE BA-CTSY-NTWC-MSPNL-0004 |
|
782 |
765 START_TESTCASE BA-CTSY-NTWC-CRMPPN-0001 |
783 START_TESTCASE BA-CTSY-NTWC-CRMPPN-0001 |
766 //!@SYMTestCaseID BA-CTSY-NTWC-CRMPPN-0001 |
784 //!@SYMTestCaseID BA-CTSY-NTWC-CRMPPN-0001 |
767 //!@SYMPREQ 417-71654 |
785 //!@SYMPREQ 417-71654 |
768 //!@SYMComponent telephony_ctsy |
786 //!@SYMComponent telephony_ctsy |
769 //!@SYMTestCaseDesc Test support in CTSY for CRetrieveMobilePhonePreferredNetworks::Start |
787 //!@SYMTestCaseDesc Test support in CTSY for CRetrieveMobilePhonePreferredNetworks::Start |
770 //!@SYMTestPriority High |
788 //!@SYMTestPriority High |
771 //!@SYMTestActions 1. Invoke CRetrieveMobilePhonePreferredNetworks::Start. |
789 //!@SYMTestActions 1. Invoke CRetrieveMobilePhonePreferredNetworks::Start. |
772 //!@SYMTestExpectedResults Test code receives the preferred network list. |
790 //! 2. Add a new entry to the list. |
|
791 //! 3. Invoke RMobilePhone::StorePreferredNetworksListL. |
|
792 //!@SYMTestExpectedResults LTSY receives the modified list and test code receives KErrNone. |
773 //!@SYMTestType CT |
793 //!@SYMTestType CT |
774 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestRetrieveMobilePhonePreferredNetworks0001L |
794 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestRetrieveMobilePhonePreferredNetworks0001L |
775 END_TESTCASE BA-CTSY-NTWC-CRMPPN-0001 |
795 END_TESTCASE BA-CTSY-NTWC-CRMPPN-0001 |
776 |
796 |
777 START_TESTCASE BA-CTSY-NTWC-CRMPPN-0001a |
797 START_TESTCASE BA-CTSY-NTWC-CRMPPN-0001a |
779 //!@SYMPREQ 417-71654 |
799 //!@SYMPREQ 417-71654 |
780 //!@SYMComponent telephony_ctsy |
800 //!@SYMComponent telephony_ctsy |
781 //!@SYMTestCaseDesc Test support in CTSY for CRetrieveMobilePhonePreferredNetworks::Start |
801 //!@SYMTestCaseDesc Test support in CTSY for CRetrieveMobilePhonePreferredNetworks::Start |
782 //!@SYMTestPriority High |
802 //!@SYMTestPriority High |
783 //!@SYMTestActions 1. Invoke CRetrieveMobilePhonePreferredNetworks::Start. |
803 //!@SYMTestActions 1. Invoke CRetrieveMobilePhonePreferredNetworks::Start. |
784 //!@SYMTestExpectedResults Test code receives the preferred network list. |
804 //! 2. Remove an entry from the list. |
|
805 //! 3. Invoke RMobilePhone::StorePreferredNetworksListL. |
|
806 //!@SYMTestExpectedResults LTSY receives the modified list and test code receives KErrNone. |
785 //!@SYMTestType CT |
807 //!@SYMTestType CT |
786 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestRetrieveMobilePhonePreferredNetworks0001aL |
808 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestRetrieveMobilePhonePreferredNetworks0001aL |
787 END_TESTCASE BA-CTSY-NTWC-CRMPPN-0001a |
809 END_TESTCASE BA-CTSY-NTWC-CRMPPN-0001a |
788 |
810 |
789 START_TESTCASE BA-CTSY-NTWC-CRMPPN-0001b |
811 START_TESTCASE BA-CTSY-NTWC-CRMPPN-0001b |
822 //! 2. Cancel outstanding request. |
844 //! 2. Cancel outstanding request. |
823 //!@SYMTestExpectedResults Request status of the operation is KErrCancel |
845 //!@SYMTestExpectedResults Request status of the operation is KErrCancel |
824 //!@SYMTestType CT |
846 //!@SYMTestType CT |
825 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestRetrieveMobilePhonePreferredNetworks0002L |
847 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestRetrieveMobilePhonePreferredNetworks0002L |
826 END_TESTCASE BA-CTSY-NTWC-CRMPPN-0002 |
848 END_TESTCASE BA-CTSY-NTWC-CRMPPN-0002 |
|
849 |
|
850 START_TESTCASE BA-CTSY-NTWC-CRMPPN-0004 |
|
851 //!@SYMTestCaseID BA-CTSY-NTWC-CRMPPN-0004 |
|
852 //!@SYMPREQ 417-71654 |
|
853 //!@SYMComponent telephony_ctsy |
|
854 //!@SYMTestCaseDesc Test support in CTSY for multiple client requests to CRetrieveMobilePhonePreferredNetworks::Start |
|
855 //!@SYMTestPriority High |
|
856 //!@SYMTestActions 1. Invoke CRetrieveMobilePhonePreferredNetworks::Start. |
|
857 //! 2. Invoke CRetrieveMobilePhonePreferredNetworks::Start from second client. |
|
858 //!@SYMTestExpectedResults Second client receives KErrInUse. |
|
859 //!@SYMTestType CT |
|
860 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestRetrieveMobilePhonePreferredNetworks0004L |
|
861 END_TESTCASE BA-CTSY-NTWC-CRMPPN-0004 |
827 |
862 |
828 START_TESTCASE BA-CTSY-NTWC-MGNRS-0001 |
863 START_TESTCASE BA-CTSY-NTWC-MGNRS-0001 |
829 //!@SYMTestCaseID BA-CTSY-NTWC-MGNRS-0001 |
864 //!@SYMTestCaseID BA-CTSY-NTWC-MGNRS-0001 |
830 //!@SYMPREQ 1551 |
865 //!@SYMPREQ 1551 |
831 //!@SYMCR 1595 |
866 //!@SYMCR 1595 |
886 //!@SYMTestExpectedResults Test code does not receive preferred network list notification |
921 //!@SYMTestExpectedResults Test code does not receive preferred network list notification |
887 //!@SYMTestType CT |
922 //!@SYMTestType CT |
888 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestNotifyPreferredNetworksListChange0002L |
923 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestNotifyPreferredNetworksListChange0002L |
889 END_TESTCASE BA-CTSY-NTWC-MNPNLC-0002 |
924 END_TESTCASE BA-CTSY-NTWC-MNPNLC-0002 |
890 |
925 |
|
926 START_TESTCASE BA-CTSY-NTWC-MNPNLC-0004 |
|
927 //!@SYMPREQ 417-71654 |
|
928 //!@SYMComponent telephony_ctsy |
|
929 //!@SYMTestCaseDesc Test support in CTSY for multiple client requests to RMobilePhone::NotifyPreferredNetworksListChange |
|
930 //!@SYMTestPriority High |
|
931 //!@SYMTestActions 1. Invoke RMobilePhone::NotifyPreferredNetworksListChange. |
|
932 //! 1. Invoke RMobilePhone::NotifyPreferredNetworksListChange from second client. |
|
933 //! 2. Invoke RMobilePhone::StorePreferredNetworksListL. |
|
934 //!@SYMTestExpectedResults Clients receive preferred network list notification |
|
935 //!@SYMTestType CT |
|
936 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestNotifyPreferredNetworksListChange0004L |
|
937 END_TESTCASE BA-CTSY-NTWC-MNPNLC-0004 |
|
938 |
891 START_TESTCASE BA-CTSY-NTWC-MNNSSC-0001 |
939 START_TESTCASE BA-CTSY-NTWC-MNNSSC-0001 |
892 //!@SYMTestCaseID BA-CTSY-NTWC-MNNSSC-0001 |
940 //!@SYMTestCaseID BA-CTSY-NTWC-MNNSSC-0001 |
893 //!@SYMPREQ 1551 |
941 //!@SYMPREQ 1551 |
894 //!@SYMComponent telephony_ctsy |
942 //!@SYMComponent telephony_ctsy |
895 //!@SYMTestCaseDesc Test support in CTSY for RMobilePhone::NotifyNetworkSelectionSettingChange |
943 //!@SYMTestCaseDesc Test support in CTSY for RMobilePhone::NotifyNetworkSelectionSettingChange |