Commit 8b9a322c authored by garciay's avatar garciay
Browse files

Add TC_IMS_CHAT_0015 & TC_IMS_CHAT_0016

parent 4887e07b
Loading
Loading
Loading
Loading
+61 −16
Original line number Diff line number Diff line
@@ -4936,7 +4936,7 @@ group checksTC_IMS_SHARE_0009 {
         * }
         * </pre>
         */
        function f_mtc_check_TP_IMS_9000_01(
        function f_mtc_check_TP_MSRP_9000_01(
            ImsInterfaceMonitor p_monitorCompRef,
            boolean p_checkMessage
        ) runs on ImsTestCoordinator return SipMessage {
@@ -4949,7 +4949,7 @@ group checksTC_IMS_SHARE_0009 {
                    },
                    { },
                    {0, omit},
                    "TP_IMS_9000_01",
                    "TP_MSRP_9000_01",
                    false,
                    p_checkMessage
                )
@@ -4958,10 +4958,10 @@ group checksTC_IMS_SHARE_0009 {
            
            // Retrieve INVITE request message
            f_getSipMsgFromMonitor(p_monitorCompRef, v_sip);
            log("### f_mtc_check_TP_IMS_9000_01: v_invite=", v_sip.request.messageBody.sdpMessageBody.media_list);
            log("### f_mtc_check_TP_MSRP_9000_01: v_invite=", v_sip.request.messageBody.sdpMessageBody.media_list);
            
            return v_sip;
        } // End of function f_mtc_check_TP_IMS_9000_01
        } // End of function f_mtc_check_TP_MSRP_9000_01
        
        /**
         * @desc Starts monitor component behavior 
@@ -4981,7 +4981,7 @@ group checksTC_IMS_SHARE_0009 {
         * }
         * </pre>
         */
        function f_mtc_check_TP_IMS_9000_02(
        function f_mtc_check_TP_MSRP_9000_02(
            ImsInterfaceMonitor p_monitorCompRef, 
            boolean p_checkMessage, 
            template StatusLine p_statusLine 
@@ -4995,7 +4995,7 @@ group checksTC_IMS_SHARE_0009 {
                    },
                    { },
                    {0, omit},
                    "TP_IMS_9000_02",
                    "TP_MSRP_9000_02",
                    true,
                    p_checkMessage
                )
@@ -5004,10 +5004,10 @@ group checksTC_IMS_SHARE_0009 {
            
            // Retrieve INVITE response message
            f_getSipMsgFromMonitor(p_monitorCompRef, v_sip);
            log("### f_mtc_check_TP_IMS_9000_02: v_invite=", v_sip.response.messageBody.sdpMessageBody.media_list);
            log("### f_mtc_check_TP_MSRP_9000_02: v_invite=", v_sip.response.messageBody.sdpMessageBody.media_list);
            
            return v_sip;
        } // End of function f_mtc_check_TP_IMS_9000_02
        } // End of function f_mtc_check_TP_MSRP_9000_02
        
        /**
         * @desc Starts monitor component behavior
@@ -5089,7 +5089,7 @@ group checksTC_IMS_SHARE_0009 {
        } // End of function f_mtc_check_TP_MSRP_9000_03
        
        /**
         * @desc Starts monitor component behavior
         * @desc Starts monitor component behavior for TP_MSRP_9000_04
         * @param p_monitorCompRef Reference to monitor component
         * @param p_checkMessage TODO
         * @param p_inviteReq INVITE request message
@@ -5148,7 +5148,7 @@ group checksTC_IMS_SHARE_0009 {
        } // End of function f_mtc_check_TP_MSRP_9000_04
        
        /**
         * @desc Starts monitor component behavior
         * @desc Starts monitor component behavior for TP_MSRP_9000_05
         * @param p_monitorCompRef Reference to monitor component
         * @param p_checkMessage TODO
         * <pre>
@@ -5185,10 +5185,22 @@ group checksTC_IMS_SHARE_0009 {
        } // End of function f_mtc_check_TP_MSRP_9000_05
        
        /**
         * @desc Starts monitor component behavior for TP_IMS_5097_04
         * @desc Starts monitor component behavior for TP_MSRP_9000_06
         * @param p_monitorCompRef Reference to monitor component
         * <pre>
         * ensure that { 
         *     when { 
         *          UE_A sends INVITE to IMS_A
         *     }
         *     then { 
         *         UE_B receives an INVITE from IMS_A containing 
         *             Request-URI set to IM CONFERENCE FACTORY URI 
         *             and MIME resource-list body including invited IM Users
         *         }
         *     }
         * </pre>
         */
        function f_mtc_check_TP_IMS_9000_06(
        function f_mtc_check_TP_MSRP_9000_06(
            ImsInterfaceMonitor p_monitorCompRef,
            boolean p_checkMessage
        ) runs on ImsTestCoordinator {
@@ -5197,13 +5209,46 @@ group checksTC_IMS_SHARE_0009 {
                { mw_SipRequest(mdw_TP_IMS_5097_04_gm(mw_SIP_URI_ConfFactory)) },
                { mw_SipRequest(mw_INVITE_Request_Base) },
                {0, omit},
                "TP_IMS_9000_06",
                "TP_MSRP_9000_06",
                false,
                p_checkMessage
                )
            );
            p_monitorCompRef.done;
        }
        } // End of function f_mtc_check_TP_MSRP_9000_06
        
        /**
         * @desc Starts monitor component behavior for TP_IMS_5097_07
         * @param p_monitorCompRef Reference to monitor component
         * <pre>
         * ensure that { 
         *     when { 
         *          UE_A sends REFER to IMS_A
         *     }
         *     then { 
         *         REFER containing 
         *             Refer-To header value equals to UE_D URI 
         *             and Refer-Sub header value set to "false"
         *         }
         *     }
         * </pre>
         */
        function f_mtc_check_TP_MSRP_9000_07(
            ImsInterfaceMonitor p_monitorCompRef,
            boolean p_checkMessage
        ) runs on ImsTestCoordinator {
            p_monitorCompRef.start(
            f_imsIot_receive(
                { mw_SipRequest(mdw_TP_MSRP_9000_07(?, false)) },
                { mw_SipRequest(mw_REFER_Request_Base(?)) },
                {0, omit},
                "TP_MSRP_9000_07",
                false,
                p_checkMessage
                )
            );
            p_monitorCompRef.done;
        } // End of function f_mtc_check_TP_MSRP_9000_07
        
    } // End of group msrpChecks
    
+16 −0
Original line number Diff line number Diff line
@@ -988,6 +988,22 @@ module AtsImsIot_Functions {
            return v_status;
        }

        /**
           * @desc Trigger UE given by p_ueRef to Add a new participant in a chat 1-to-Many
           * 		of incoming chat invitation  
           * @param p_ueRef Reference to IMS UE user component
           * @param p_calledParty Reference to the new participant
           * @return
           *     true in case of successfull execution of the trigger command
           *     otherwise false
           */
        function f_mtc_userAddNewPaticipantChatOneToMany(EquipmentUser p_ueRef, ImsUserInfo p_calledParty) 
            runs on TestCoordinator return boolean {
            var boolean v_status := true; 
            // TODO
            return v_status;
        }

        /**
           * @desc Trigger UE given by p_ueRef to verify that user is informed
           * 		that invitation to 1-to-1 chat session has reached  
+14 −0
Original line number Diff line number Diff line
@@ -98,6 +98,20 @@ module AtsImsIot_Templates {
            msrpResponse := p_msrpResponse
		}
        
        template REFER_Request mdw_TP_MSRP_9000_07( 
            in template CallId p_callId,
            in boolean p_referSubValue
        ) modifies mw_REFER_Request_Base := {
            msgHeader :=
            {
                referSub := {
                    fieldName := REFER_SUB_E,
                    referSubValue := p_referSubValue,
                    referSubParams := *
                }
            }
        }
        
	} // End of group msrpMessages

    group naptrTemplates {
+306 −47

File changed.

Preview size limit exceeded, changes collapsed.

+6 −0
Original line number Diff line number Diff line
@@ -57,6 +57,12 @@ module AtsImsIot_TestConfiguration {
		const charstring c_userUE_B2 := "User B2";
        //* eut trigger name User C
        const charstring c_userUE_C := "User C";
		//* interface monitor name Gm C
		const charstring c_gm_C := "Gm C";
        //* eut trigger name User D
        const charstring c_userUE_D := "User D";
		//* interface monitor name Gm D
		const charstring c_gm_D := "Gm D";
		//* interface monitor name Rx
		const charstring c_rx := "Rx"; // See ETSI TS 103 029 V3.1.1 clause 5.4.2
	}