Commit 2572eae3 authored by bergengruen's avatar bergengruen
Browse files

No commit message

No commit message
parent 31ad995a
Loading
Loading
Loading
Loading
+54 −0
Original line number Diff line number Diff line
@@ -431,6 +431,60 @@ group checksTC_IMS_0002 {
           return v_sip.response;
	    }

} // group
group checksTC_IMS_0003{	    
	    /**
		 * @desc Starts monitor component behavior 
		 * @param p_monitorCompRef Reference to monitor component
		 */
	    function f_mtc_check_TP_IMS_5203_01_gm(
	    	InterfaceMonitor p_monitorCompRef
	    ) runs on TestCoordinator {
		   // Check that the UE sends any register	    		
           p_monitorCompRef.start(
            f_imsIot_receive(
                {mw_SipRequest(mw_REGISTER_Request_Base)},
                {},
                "TP_IMS_5203_01",
                "REGISTER request",
                0,
                false
            )
           );
           p_monitorCompRef.done;
	    }
	    
	    /**
		 * @desc Starts monitor component behavior
		 * @param p_monitorCompRef Reference to monitor component
		 */
	    function f_mtc_check_TP_IMS_5203_01_mw(
	    	InterfaceMonitor p_monitorCompRef
	    ) runs on TestCoordinator return Request {
		   var SipMessage v_sip;
		   
		   //TODO Currently we don't check anything except that there 
		   // where 2 messages on the cable, and the last being a Register
		   var charstring v_EUT_A_Addr := f_GetEUTAddress(PX_EUT_A);
		   var Request v_RegisterStep4;    		
           p_monitorCompRef.start(
            f_imsIot_receive(
                {mw_SipRequest(mw_REGISTER_Request_Base)},
                {},
                "TP_IMS_5203_01",
                "REGISTER request",
                0,
                true
            )
           );
           p_monitorCompRef.done;
           f_getSipMsgFromMonitor(p_monitorCompRef, v_sip);
           v_RegisterStep4 := v_sip.request;
                      
           return v_RegisterStep4;
	    }
  
  
} // group
group checksTC_IMS_0005 {

+17 −7
Original line number Diff line number Diff line
@@ -104,8 +104,21 @@ module AtsImsIot_Templates {
     */
    template Response mdw_TP_IMS_5092_01_mw (template SipUrl p_eutBUri )modifies mw_200OK_Base := {
      msgHeader := {
        pAssociatedURI := mw_PAssociatedURI,
        serviceRoute := mw_ServiceRoute (p_eutBUri)
        // TODO 
        // all registered_public_identities and "its associated set of implicitly 
        // registered public user identities" indicating (first the default 
        // public_user_identity and no barred_public_user_identities
        pAssociatedURI := mw_PAssociatedURI({
          {id := "publicUserId1", paramValue :="eutBxxx"},
          {id := "publicUserId2", paramValue :="eutByyy"}
        }),
        serviceRoute := mw_ServiceRoute (p_eutBUri),
        pChargingVector :=  mw_PChargingVector({
            {id := "term-ioi", paramValue := *}, 
            *
          }),
        // TODO indicating all contact addresses
        contact := m_Contact(p_eutBUri)
      }
    }
   /**
@@ -289,15 +302,12 @@ module AtsImsIot_Templates {
        vNetWorkSpec := ?
      } // template
    
      template PAssociatedURI mw_PAssociatedURI :=  
      template PAssociatedURI mw_PAssociatedURI (template SemicolonParam_List p_SemicolonParam_List):=  
        {
        fieldName := P_ASSOCIATED_URI_E,
        nameAddrList:= {
           {nameAddr := *,
             // TODO TP_IMS_5092_01 in CFW step 8 (200 Ok):
             //   containing all registered public identities and its associated 
             //   set of implicitly registered public user identities.
            genericParams := {{id := "xx",paramValue := "yy"}}  
            genericParams := p_SemicolonParam_List  
           },
           *
           }
+2 −2
Original line number Diff line number Diff line
@@ -152,10 +152,10 @@ module AtsImsIot_TestCases {
		// test body
		f_mtc_userTriggerRegistration(v_ueB, PX_EUT_A); 
		
		f_mtc_check_TP_IMS_5011_01_gm(v_gmA);
		f_mtc_check_TP_IMS_5203_01_gm(v_gmA);

		// TODO implement check functions		
		v_Register_Step4 := f_mtc_check_TP_IMS_5011_01_mw(v_mw); // TP1
		v_Register_Step4 := f_mtc_check_TP_IMS_5203_01_mw(v_mw); // TP1
		v_200OK_Step9 := f_mtc_check_TP_IMS_5092_01_mw(v_mw); // TP2
		
		f_mtc_userCheckRegistration(v_ueB, PX_EUT_B);