Commit 274f90b7 authored by Yann Garcia's avatar Yann Garcia
Browse files

Change ECO into EMC when required

parent 8b4f1bd6
Loading
Loading
Loading
Loading
+45 −45
Original line number Diff line number Diff line
@@ -1685,7 +1685,7 @@ module AtsImsIot_Emergency {
                 * @see ETSI TS 103 795-2 Clause 5.3.3.1	UE Initiated Emergency Session Release
                 * @remark This is option 1: PSAP is in IMS A network
                 */
                testcase TD_VoLTE_ECO_INT_REL_01_01() runs on ImsTestCoordinator system IotSystemInterface {
                testcase TD_VoLTE_EMC_INT_REL_01_01() runs on ImsTestCoordinator system IotSystemInterface {

                    var IotEquipmentUser v_ueA  := f_cf_create_IotEquipmentUser ( c_userUE_A_emergency );
                    var IotEquipmentUser v_psap := f_cf_create_IotEquipmentUser ( c_psap );
@@ -1718,7 +1718,7 @@ module AtsImsIot_Emergency {
                        } else {
                            // TODO Check OPTIONS from PSAP to E-CSCF
                        }
                        f_mtc_check_precond_TD_VoLTE_ECO_INT_REL_01_01();
                        f_mtc_check_precond_TD_VoLTE_EMC_INT_REL_01_01();
                        f_mtc_userInitiateCall (v_ueA, v_infoPsap); // Event 1

                        // Test body
@@ -1755,23 +1755,23 @@ module AtsImsIot_Emergency {
                        setverdict (inconc,"At least one required monitor interface SHALL be selected! Check PIXITs")
                    }
                    f_cf_adapter_down ( );
                } // End of TC TD_VoLTE_ECO_INT_REL_01_01
                } // End of TC TD_VoLTE_EMC_INT_REL_01_01

                group f_TD_VoLTE_ECO_INT_REL_01_01 {
                group f_TD_VoLTE_EMC_INT_REL_01_01 {

                    function f_mtc_check_precond_TD_VoLTE_ECO_INT_REL_01_01() runs on ImsTestCoordinator {
                    function f_mtc_check_precond_TD_VoLTE_EMC_INT_REL_01_01() runs on ImsTestCoordinator {
                        log("If the test case fails, please check the preconditions");
                        // TODO Add real code to check pre-conditions
                     } // End of function f_mtc_check_precond_TD_VoLTE_ECO_INT_REL_01_01
                     } // End of function f_mtc_check_precond_TD_VoLTE_EMC_INT_REL_01_01

                } // End of group f_TD_VoLTE_ECO_INT_REL_01_01
                } // End of group f_TD_VoLTE_EMC_INT_REL_01_01

                /**
                 * @desc    To perform originating UE session release and the tear down of related dedicated bearers.
                 * @see ETSI TS 103 795-2 Clause 5.3.3.1	UE Initiated Emergency Session Release
                 * @remark This is option 2: PSAP is not in IMS A network
                 */
                testcase TD_VoLTE_ECO_INT_REL_01_02 ( ) runs on ImsTestCoordinator system IotSystemInterface {
                testcase TD_VoLTE_EMC_INT_REL_01_02 ( ) runs on ImsTestCoordinator system IotSystemInterface {

                    var IotEquipmentUser v_ueA  := f_cf_create_IotEquipmentUser ( c_userUE_A_emergency );
                    var IotEquipmentUser v_psap := f_cf_create_IotEquipmentUser ( c_psap );
@@ -1805,7 +1805,7 @@ module AtsImsIot_Emergency {
                        } else {
                            // TODO Check OPTIONS from PSAP to E-CSCF
                        }
                        f_mtc_check_precond_TD_VoLTE_ECO_INT_REL_01_02();
                        f_mtc_check_precond_TD_VoLTE_EMC_INT_REL_01_02();
                        f_mtc_userInitiateCall (v_ueA, v_infoPsap); // Event 1

                        // Test body
@@ -1842,22 +1842,22 @@ module AtsImsIot_Emergency {
                        setverdict (inconc,"At least one required monitor interface SHALL be selected! Check PIXITs")
                    }
                    f_cf_adapter_down ( );
                } // End of TC TD_VoLTE_ECO_INT_REL_01_02
                } // End of TC f_TD_VoLTE_EMC_INT_REL_01_01

                group f_TD_VoLTE_ECO_INT_REL_01_02 {
                group f_TD_VoLTE_EMC_INT_REL_01_02 {

                    function f_mtc_check_precond_TD_VoLTE_ECO_INT_REL_01_02() runs on ImsTestCoordinator {
                    function f_mtc_check_precond_TD_VoLTE_EMC_INT_REL_01_02() runs on ImsTestCoordinator {
                        log("If the test case fails, please check the preconditions");
                     } // End of function f_mtc_check_precond_TD_VoLTE_ECO_INT_REL_01_02
                     } // End of function f_mtc_check_precond_TD_VoLTE_EMC_INT_REL_01_02

                } // End of f_TD_VoLTE_ECO_INT_REL_01_02
                } // End of f_TD_VoLTE_EMC_INT_REL_01_02

               /**
                 * @desc    To perform originating UE session release and the tear down of related dedicated bearers.
                 * @see ETSI TS 103 795-2 Clause 5.3.3.1	UE Initiated Emergency Session Release
                 * @remark This is option 3: PSAP is in PSTN network
                 */
                testcase TD_VoLTE_ECO_INT_REL_01_03() runs on ImsTestCoordinator system IotSystemInterface {
                testcase TD_VoLTE_EMC_INT_REL_01_03() runs on ImsTestCoordinator system IotSystemInterface {

                    var IotEquipmentUser v_ueA  := f_cf_create_IotEquipmentUser ( c_userUE_A_emergency );
                    var IotEquipmentUser v_psap := f_cf_create_IotEquipmentUser ( c_psap );
@@ -1891,7 +1891,7 @@ module AtsImsIot_Emergency {
                            // TODO Check OPTIONS from PSAP to E-CSCF
                        }
                        f_mtc_userInitiateCall (v_ueA, v_infoPsap); // Event 1
                        f_mtc_check_precond_TD_VoLTE_ECO_INT_REL_01_03();
                        f_mtc_check_precond_TD_VoLTE_EMC_INT_REL_01_03();

                        // Test body
                        //f_mtc_userInitiateCall (v_ueA, v_userTelInfoB);
@@ -1927,16 +1927,16 @@ module AtsImsIot_Emergency {
                        setverdict (inconc,"At least one required monitor interface SHALL be selected! Check PIXITs")
                    }
                    f_cf_adapter_down ( );
                } // End of TC TD_VoLTE_ECO_INT_REL_01_03
                } // End of TC TD_VoLTE_EMC_INT_REL_01_03

                group f_TD_VoLTE_ECO_INT_REL_01_03 {
                group f_TD_VoLTE_EMC_INT_REL_01_03 {

                    function f_mtc_check_precond_TD_VoLTE_ECO_INT_REL_01_03() runs on ImsTestCoordinator {
                    function f_mtc_check_precond_TD_VoLTE_EMC_INT_REL_01_03() runs on ImsTestCoordinator {
                        log("If the test case fails, please check the preconditions");
                        // TODO Add real code to check pre-conditions
                     } // End of function f_mtc_check_precond_TD_VoLTE_ECO_INT_REL_01_03
                     } // End of function f_mtc_check_precond_TD_VoLTE_EMC_INT_REL_01_03

                } // End of group f_TD_VoLTE_ECO_INT_REL_01_03
                } // End of group f_TD_VoLTE_EMC_INT_REL_01_03

               /**
                 * @desc    To perform originating PSAP session release and the tear down of related dedicated bearers.
@@ -2214,7 +2214,7 @@ module AtsImsIot_Emergency {
                 * @see ETSI TS 103 795-2 Clause 5.3.4.1	Emergency Session Abort 
                 * @remark This is option 1: PSAP is in IMS A network
                 */
                testcase TD_VoLTE_ECO_INT_ABT_01_01() runs on ImsTestCoordinator system IotSystemInterface {
                testcase TD_VoLTE_EMC_INT_ABT_01_01() runs on ImsTestCoordinator system IotSystemInterface {

                    var IotEquipmentUser v_ueA  := f_cf_create_IotEquipmentUser ( c_userUE_A_emergency );
                    var IotEquipmentUser v_psap := f_cf_create_IotEquipmentUser ( c_psap );
@@ -2248,12 +2248,12 @@ module AtsImsIot_Emergency {
                        } else {
                            // TODO Check OPTIONS from PSAP to E-CSCF
                        }
                        f_mtc_check_precond_TD_VoLTE_ECO_INT_ABT_01_01();
                        f_mtc_check_precond_TD_VoLTE_EMC_INT_ABT_01_01();
                        f_mtc_userInitiateCall (v_ueA, v_infoPsap); // Event 1
                        // Test body
                        //f_mtc_userInitiateCall (v_ueA, v_userTelInfoB);

                        f_mtc_check_TP_GM_PCSCF_ECO_CANCEL_01(vc_vxlte_monitor_components.gmA, -, v_sip); // Event 1
                        f_mtc_check_TP_GM_PCSCF_EMC_CANCEL_01(vc_vxlte_monitor_components.gmA, -, v_sip); // Event 1

                        //Rx/Gx exchange after CANCEL was received at P-CSCF
                        f_mtc_check_TP_RX_PCSCF_STR_01(vc_vxlte_monitor_components.rx); // (STR – Event 2
@@ -2291,23 +2291,23 @@ module AtsImsIot_Emergency {
                        setverdict (inconc,"At least one required monitor interface SHALL be selected! Check PIXITs")
                    }
                    f_cf_adapter_down ( );
                } // End of TC TD_VoLTE_ECO_INT_ABT_01_01
                } // End of TC TD_VoLTE_EMC_INT_ABT_01_01

                group f_TD_VoLTE_ECO_INT_ABT_01_01 {
                group f_TD_VoLTE_EMC_INT_ABT_01_01 {

                    function f_mtc_check_precond_TD_VoLTE_ECO_INT_ABT_01_01() runs on ImsTestCoordinator {
                    function f_mtc_check_precond_TD_VoLTE_EMC_INT_ABT_01_01() runs on ImsTestCoordinator {
                        log("If the test case fails, please check the preconditions");
                        // TODO Add real code to check pre-conditions
                     } // End of function f_mtc_check_precond_TD_VoLTE_ECO_INT_ABT_01_01
                     } // End of function f_mtc_check_precond_TD_VoLTE_EMC_INT_ABT_01_01

                } // End of group f_TD_VoLTE_ECO_INT_ABT_01_01
                } // End of group f_TD_VoLTE_EMC_INT_ABT_01_01

                /**
                 * @desc    To perform SIP session abort (originating side) and the related interactions with PCRF A and EPC A.
                 * @see ETSI TS 103 795-2 Clause 5.3.4.1	Emergency Session Abort 
                 * @remark This is option 1: PSAP is not in IMS A network
                 */
                testcase TD_VoLTE_ECO_INT_ABT_01_02() runs on ImsTestCoordinator system IotSystemInterface {
                testcase TD_VoLTE_EMC_INT_ABT_01_02() runs on ImsTestCoordinator system IotSystemInterface {

                    var IotEquipmentUser v_ueA  := f_cf_create_IotEquipmentUser ( c_userUE_A_emergency );
                    var IotEquipmentUser v_psap := f_cf_create_IotEquipmentUser ( c_psap );
@@ -2341,13 +2341,13 @@ module AtsImsIot_Emergency {
                        } else {
                            // TODO Check OPTIONS from PSAP to E-CSCF
                        }
                        f_mtc_check_precond_TD_VoLTE_ECO_INT_ABT_01_02();
                        f_mtc_check_precond_TD_VoLTE_EMC_INT_ABT_01_02();
                        f_mtc_userInitiateCall (v_ueA, v_infoPsap); // Event 1

                        // Test body
                        //f_mtc_userInitiateCall (v_ueA, v_userTelInfoB);

                        f_mtc_check_TP_GM_PCSCF_ECO_CANCEL_01(vc_vxlte_monitor_components.gmA, -, v_sip); // Event 1
                        f_mtc_check_TP_GM_PCSCF_EMC_CANCEL_01(vc_vxlte_monitor_components.gmA, -, v_sip); // Event 1

                        //Rx/Gx exchange after CANCEL was received at P-CSCF
                        f_mtc_check_TP_RX_PCSCF_STR_01(vc_vxlte_monitor_components.rx); // (STR – Event 2
@@ -2391,23 +2391,23 @@ module AtsImsIot_Emergency {
                        setverdict (inconc,"At least one required monitor interface SHALL be selected! Check PIXITs")
                    }
                    f_cf_adapter_down ( );
                } // End of TC TD_VoLTE_ECO_INT_ABT_01_02
                } // End of TC TD_VoLTE_EMC_INT_ABT_01_02

                group f_TD_VoLTE_ECO_INT_ABT_01_02 {
                group f_TD_VoLTE_EMC_INT_ABT_01_02 {

                    function f_mtc_check_precond_TD_VoLTE_ECO_INT_ABT_01_02() runs on ImsTestCoordinator {
                    function f_mtc_check_precond_TD_VoLTE_EMC_INT_ABT_01_02() runs on ImsTestCoordinator {
                        log("If the test case fails, please check the preconditions");
                        // TODO Add real code to check pre-conditions
                     } // End of function f_mtc_check_precond_TD_VoLTE_ECO_INT_ABT_01_02
                     } // End of function f_mtc_check_precond_TD_VoLTE_EMC_INT_ABT_01_02

                } // End of group f_TD_VoLTE_ECO_INT_ABT_01_02
                } // End of group f_TD_VoLTE_EMC_INT_ABT_01_02

                /**
                 * @desc    To perform SIP session abort (originating side) and the related interactions with PCRF A and EPC A.
                 * @see ETSI TS 103 795-2 Clause 5.3.4.1	Emergency Session Abort 
                 * @remark This is option 1: PSAP is in PSTN network
                 */
                testcase TD_VoLTE_ECO_INT_ABT_01_03() runs on ImsTestCoordinator system IotSystemInterface {
                testcase TD_VoLTE_EMC_INT_ABT_01_03() runs on ImsTestCoordinator system IotSystemInterface {

                    var IotEquipmentUser v_ueA  := f_cf_create_IotEquipmentUser ( c_userUE_A_emergency );
                    var IotEquipmentUser v_psap := f_cf_create_IotEquipmentUser ( c_psap );
@@ -2441,13 +2441,13 @@ module AtsImsIot_Emergency {
                        } else {
                            // TODO Check OPTIONS from PSAP to E-CSCF
                        }
                        f_mtc_check_precond_TD_VoLTE_ECO_INT_ABT_01_03();
                        f_mtc_check_precond_TD_VoLTE_EMC_INT_ABT_01_03();
                        f_mtc_userInitiateCall (v_ueA, v_infoPsap); // Event 1

                        // Test body
                        //f_mtc_userInitiateCall (v_ueA, v_userTelInfoB);

                        f_mtc_check_TP_GM_PCSCF_ECO_CANCEL_01(vc_vxlte_monitor_components.gmA, -, v_sip); // Event 1
                        f_mtc_check_TP_GM_PCSCF_EMC_CANCEL_01(vc_vxlte_monitor_components.gmA, -, v_sip); // Event 1

                        //Rx/Gx exchange after CANCEL was received at P-CSCF
                        f_mtc_check_TP_RX_PCSCF_STR_01(vc_vxlte_monitor_components.rx); // (STR – Event 2
@@ -2490,16 +2490,16 @@ module AtsImsIot_Emergency {
                        setverdict (inconc,"At least one required monitor interface SHALL be selected! Check PIXITs")
                    }
                    f_cf_adapter_down ( );
                } // End of TC TD_VoLTE_ECO_INT_ABT_01_03
                } // End of TC TD_VoLTE_EMC_INT_ABT_01_03

                group f_TD_VoLTE_ECO_INT_ABT_01_03 {
                group f_TD_VoLTE_EMC_INT_ABT_01_03 {

                    function f_mtc_check_precond_TD_VoLTE_ECO_INT_ABT_01_03() runs on ImsTestCoordinator {
                    function f_mtc_check_precond_TD_VoLTE_EMC_INT_ABT_01_03() runs on ImsTestCoordinator {
                        log("If the test case fails, please check the preconditions");
                        // TODO Add real code to check pre-conditions
                     } // End of function f_mtc_check_precond_TD_VoLTE_ECO_INT_ABT_01_03
                     } // End of function f_mtc_check_precond_TD_VoLTE_EMC_INT_ABT_01_03

                } // End of group f_TD_VoLTE_ECO_INT_ABT_01_03
                } // End of group f_TD_VoLTE_EMC_INT_ABT_01_03

                /**
                 * @desc    To demonstrate interaction between UE A and PSAP when an emergency session is rejected.
+3 −3
Original line number Diff line number Diff line
@@ -3873,7 +3873,7 @@ module AtsImsIot_TP_behavior_GM {
         *         }
         *     }
         */
        function f_mtc_check_TP_GM_PCSCF_ECO_CANCEL_01(
        function f_mtc_check_TP_GM_PCSCF_EMC_CANCEL_01(
                                                       in SipInterfaceMonitor p_monitorCompRef,
                                                       in boolean p_checkMessage := false,
                                                       inout SipMessage p_sip
@@ -3892,7 +3892,7 @@ module AtsImsIot_TP_behavior_GM {
                                                         },
                                                         { mw_SipRequest(mw_CANCEL_Request_Base) },
                                                         { 0, omit },
                                                         "TP_GM_PCSCF_ECO_CANCEL_01",
                                                         "TP_GM_PCSCF_EMC_CANCEL_01",
                                                         true,
                                                         p_checkMessage
                                                         )
@@ -3901,7 +3901,7 @@ module AtsImsIot_TP_behavior_GM {
                // Retrieve messge
                f_getSipMsgFromMonitor(p_monitorCompRef, p_sip);
            }
        } // End of function f_mtc_check_TP_GM_PCSCF_ECO_CANCEL_01
        } // End of function f_mtc_check_TP_GM_PCSCF_EMC_CANCEL_01
        
        /**
         * @desc Verify that the P-CSCF successfully processes a CANCEL (Terminating Leg).