Commit eb0f84f1 authored by Rennoch's avatar Rennoch
Browse files

initial TPs for IBCF_GC_01, IBCF_CANCEL_01 and IBCF_486INVITE_01 at IC

parent 0b6573bd
Loading
Loading
Loading
Loading
+79 −0
Original line number Diff line number Diff line
@@ -52,6 +52,34 @@ module AtsImsIot_TP_behavior_IC
    
group g_IBCF {

	group g_IBCF_GC{
        
			 /**
			  * @desc
			  *     TP_IMS_4002_01 in CFW step 3 (MESSAGE)<br> ensure that {<br>
			  *     when { UE_A sends a MESSAGE to UE_B containing a Message_Body
			  *     greater than 1300 bytes }<br> then { IMS_B receives the MESSAGE
			  *     containing the Message_Body greater than 1300 bytes }<br> }
              * @remark source function f_mtc_check_TP_IMS_4002_01_ic
			  */

			function f_mtc_check_TP_IC_IBCF_GC_01(ImsInterfaceMonitor p_monitorCompRef) 
			runs on ImsTestCoordinator {
                        
			   p_monitorCompRef.start(
				f_imsIot_receive(
					{mw_SipRequest(mdw_TP_IC_IBCF_GC_01(?))},//? CallId can be checked
					{mw_SipRequest(mw_MESSAGE_Request_Base)},
					{0, omit},
					"TP_IC_IBCF_GC_01",
					false,
					false
				)
			   );
			   p_monitorCompRef.done;
			}
	} // group g_IBCF_GC

group g_IBCF_INVITE {

		/**
@@ -483,6 +511,57 @@ group g_IBCF_BYE {

} // end group g_IBCF_BYE

group g_IBCF_CANCEL {
    
	/**
	  * @desc Starts monitor component behavior
	  * @param p_monitorCompRef Reference to monitor component
      * @remark source function f_mtc_check_TP_IMS_5107_03_ic
	  */
	function f_mtc_check_TP_IC_IBCF_CANCEL_01(
		ImsInterfaceMonitor p_monitorCompRef,
		boolean p_checkMessage
	) runs on ImsTestCoordinator  {
		var template SipUrl v_scscfImsAUrl := mw_SipUrl_Host(f_GetEUTScscfAddress(PX_EUT_A));
            
		p_monitorCompRef.start(
		 f_imsIot_receive(
			{mw_SipRequest(mdw_TP_IC_IBCF_CANCEL_01(?, v_scscfImsAUrl))},
			{},
			{0, omit},
			"TP_IC_IBCF_CANCEL_01",
			false,
			p_checkMessage
		 )
		);
		p_monitorCompRef.done;
            
	} //function

} // end group g_IBCF_CANCEL

group g_IBCF_486INVITE {
    
	/**
	* Starts monitor component behavior for TP_IC_IBCF_486INVITE_01
	* @param p_monitorCompRef Reference to monitor component
	* @param p_checkMessage indicate if the incomming message should only be checked (port.check) or consumed (port.receive). 
	* The check operation allows read access to the top element of incoming port queues without removing the top element from the queue.
    * @remark source function f_mtc_check_TP_EPC_6034_04
	*/
   function f_mtc_check_TP_IC_IBCF_486INVITE_01(
	   ImsInterfaceMonitor p_monitorCompRef
   ) runs on ImsTestCoordinator {
	   p_monitorCompRef.start(
		f_imsIot_receive(
			{ mw_SipResponse ( mw_Response_Base ( c_statusLine486, ?, ? ) ) }, { }, { 0, omit },
			"TP_IC_IBCF_486INVITE_01", false, false )
	   );
	   p_monitorCompRef.done;
   } // End of function 

} // end group g_IBCF_486INVITE

} // end group g_IBCF


+44 −0
Original line number Diff line number Diff line
@@ -62,6 +62,24 @@ module AtsImsIot_Templates_IC
	
	group g_IBCF {

    group g_IBCF_GC{
    	
		/**
		* 
		* @desc Message Request containing a message body greater than 1500 bytes.
        * @remark source template mdw_TP_IMS_4002_01
		*/
		template MESSAGE_Request mdw_TP_IC_IBCF_GC_01(template CallId p_callId) modifies mw_MESSAGE_Request_Base := {
			msgHeader := {
				contact := *
			},
			messageBody := {
				textplain := pattern "?#(1500,)" 
			}
		}    	    	
    	
    } // group g_IBCF_GC

	group g_IBCF_INVITE {

		/**
@@ -378,6 +396,32 @@ module AtsImsIot_Templates_IC

	} // end group g_IBCF_BYE

	group g_IBCF_CANCEL {
    
		/**
		  * 
		  * @desc CANCEL Request checking TP_IC_IBCF_CANCEL_01
		  * @remark source template mdw_TP_IMS_5107_03_ic
		  */
		template CANCEL_Request mdw_TP_IC_IBCF_CANCEL_01 (template CallId p_callId, template SipUrl p_SCSCF_SIP_URI) 
		modifies mw_CANCEL_Request_Base := {
			msgHeader := {
				route := (
					omit, 
						{
						fieldName := ROUTE_E,
						routeBody := {
							*, 
							complement(mw_routeBody(p_SCSCF_SIP_URI)),
							*
						}
					}
				)
			}
		}

	} // end group g_IBCF_CANCEL

	} // end group g_IBCF


Compare 45bea252 to fd3b61df
Original line number Diff line number Diff line
Subproject commit 45bea252dd3e62acc56db4e863d9fb6a96b4ee6f
Subproject commit fd3b61dfd76385d9bc8a51c518649644418ce36e
Compare 7f6fd81a to 2acb7ee6
Original line number Diff line number Diff line
Subproject commit 7f6fd81af0912a0d8bdf85bafede9e62b68b1628
Subproject commit 2acb7ee656b6be066139a050b072e0d345c10022