Commit 9031dda1 authored by wattelet's avatar wattelet
Browse files

EPC TCs updated

parent f0753029
Loading
Loading
Loading
Loading
+74 −41
Original line number Diff line number Diff line
@@ -4555,8 +4555,6 @@ group checksTC_IMS_SHARE_0009 {
           p_monitorCompRef.done;
	    }
	    
	    
	    
	    /**
	     * @desc Starts monitor component behavior for TP_IMS_5121_02
		 * @param p_monitorCompRef Reference to monitor component
@@ -4566,7 +4564,6 @@ group checksTC_IMS_SHARE_0009 {
	    	integer p_skipCount
	    ) runs on ImsTestCoordinator {
	    	// TODO TP must be checked, currently only 2XX is checked
	    	
	    	var template SkipType v_skip := {0, omit};
	    	
	    	if(p_skipCount > 0) {
@@ -4585,7 +4582,6 @@ group checksTC_IMS_SHARE_0009 {
           p_monitorCompRef.done;
	    }
	   
	   
	    /**
	     * @desc Starts monitor component behavior for TP_IMS_5121_02
		 * @param p_monitorCompRef Reference to monitor component
@@ -5628,10 +5624,13 @@ group checksTC_IMS_SHARE_0009 {
         * @see TS 103 029 V3.1.1 clause 7.1.2
         */
        function f_mtc_check_TP_EPC_6009_02(
            ImsInterfaceMonitor p_monitorCompRef,
            boolean p_checkMessage
            in EquipmentUser p_ueRef, 
        	in ImsInterfaceMonitor p_monitorCompRef
        ) runs on ImsTestCoordinator {
            // TODO 
            p_monitorCompRef.start (
                f_check_ExistingDedicatedBearer	( p_ueRef )
            ); 
            p_monitorCompRef.done;
        } // End of function f_mtc_check_TP_EPC_6009_02
        
          /**
@@ -5759,9 +5758,23 @@ group checksTC_IMS_SHARE_0009 {
         */
        function f_mtc_check_TP_EPC_6012_02(
        	ImsInterfaceMonitor p_monitorCompRef,
            boolean p_checkMessage
            ImsInterfaceMonitor p_monitorCompRef_B
        ) runs on ImsTestCoordinator {
            // TODO 
            p_monitorCompRef.start(
                f_imsIot_receive (
                    { mw_SipResponse ( mw_200OK_Base ) }, { }, { 0, omit },
                    "TP_EPC_6012_02", false, false
                )
            );
            p_monitorCompRef.done;
            p_monitorCompRef_B.start (
                f_receiveDiameterMsg ( mw_STR_dummy , "TP_EPC_6012_02", true )
            );
            p_monitorCompRef_B.done;
            p_monitorCompRef_B.start (
                f_receiveDiameterMsg ( mw_STA_dummy , "TP_EPC_6012_02", true )
            );
            p_monitorCompRef_B.done;
        } // End of function f_mtc_check_TP_EPC_6012_02
        
        /**
@@ -5891,7 +5904,20 @@ group checksTC_IMS_SHARE_0009 {
            ImsInterfaceMonitor p_monitorCompRef,
            boolean p_checkMessage
        ) runs on ImsTestCoordinator {
            // TODO 
        	p_monitorCompRef.start(
            	f_imsIot_receive (
                	{ mw_SipRequest ( mw_REGISTER_Request_Base ) }, { }, { 0, omit },
                	"TP_EPC_6017_01", false, p_checkMessage
            	)
           	);
           	p_monitorCompRef.done;
           	p_monitorCompRef.start(
            	f_imsIot_receive (
                	{ mw_SipResponse ( mw_Response_Base ( c_statusLine200, ?, ? ) ) }, { }, { 0, omit },
                	"TP_EPC_6017_01", false, false
            	)
           	);
           	p_monitorCompRef.done;
        } // End of function f_mtc_check_TP_EPC_6017_01
        
        /**
@@ -5899,17 +5925,6 @@ group checksTC_IMS_SHARE_0009 {
         * @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.
         * <pre>
         * ensure that {
         *     when { 
         *         UE_A sends REGISTER to IMS_P-CSCF 
         *     } 
         *     then { 
         *          IMS_P-CSCF receives REGISTER delivered over default bearer containing 
         *              no Contact_header 
         *          and IMS_P-CSCF sends Response to UE_A 
         *     } 
         * } 
         * </pre>
         * @see TS 103 029 V3.1.1 clause 7.2.2
         */
@@ -5917,7 +5932,10 @@ group checksTC_IMS_SHARE_0009 {
            ImsInterfaceMonitor p_monitorCompRef,
            boolean p_checkMessage
        ) runs on ImsTestCoordinator {
            // TODO 
            p_monitorCompRef.start (
                f_receiveDiameterMsg ( mw_STR_dummy , "TP_EPC_6018_01", true )
            );
            p_monitorCompRef.done;
        } // End of function f_mtc_check_TP_EPC_60178_01
        
        /**
@@ -5925,15 +5943,6 @@ group checksTC_IMS_SHARE_0009 {
         * @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.
         * <pre>
         * ensure that {
         *     when { 
         *         IMS_P-CSCF sends Response on REGISTER to UE_A 
         *     } 
         *     then { 
         *          UE_A receives Response on REGISTER from IMS_P-CSCF delivered over default bearer 
         *     } 
         * } 
         * </pre>
         * @see TS 103 029 V3.1.1 clause 7.2.2
         */
@@ -5941,11 +5950,14 @@ group checksTC_IMS_SHARE_0009 {
            ImsInterfaceMonitor p_monitorCompRef,
            boolean p_checkMessage
        ) runs on ImsTestCoordinator {
            // TODO 
            p_monitorCompRef.start (
                f_receiveDiameterMsg ( mw_STA_dummy , "TP_EPC_6019_01", true )
            );
            p_monitorCompRef.done;
        } // End of function f_mtc_check_TP_EPC_6019_01

         /**
         * Starts monitor component behavior for TP_EPC_6016_02
         * Starts monitor component behavior for TP_EPC_6020_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.
@@ -5954,11 +5966,14 @@ group checksTC_IMS_SHARE_0009 {
            ImsInterfaceMonitor p_monitorCompRef,
            boolean p_checkMessage
        ) runs on ImsTestCoordinator {
            // TODO 
            p_monitorCompRef.start (
                f_receiveIpMsg ( p_checkMessage , "TP_EPC_6020_01" )
            );
            p_monitorCompRef.done;
        } // End of function f_mtc_check_TP_EPC_6020_01

         /**
         * Starts monitor component behavior for TP_EPC_6016_02
         * Starts monitor component behavior for TP_EPC_6021_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.
@@ -5967,7 +5982,20 @@ group checksTC_IMS_SHARE_0009 {
            ImsInterfaceMonitor p_monitorCompRef,
            boolean p_checkMessage
        ) runs on ImsTestCoordinator {
            // TODO 
            p_monitorCompRef.start(
                f_imsIot_receive (
                    { mw_SipRequest ( mw_REGISTER_Request_Base ) }, { }, { 0, omit },
                    "TP_EPC_6021_01", false, p_checkMessage
                )
            );
            p_monitorCompRef.done;
        	p_monitorCompRef.start (
            	f_imsIot_receive (
                 { mw_SipRequest ( mw_BYE_Request_Base( ? ) ) }, { }, { 0, omit },
                 "TP_EPC_6021_01", false, p_checkMessage
            	)
            );
            p_monitorCompRef.done;
        } // End of function f_mtc_check_TP_EPC_6021_01

        /**
@@ -5977,10 +6005,12 @@ group checksTC_IMS_SHARE_0009 {
        * The check operation allows read access to the top element of incoming port queues without removing the top element from the queue.
        */
       function f_mtc_check_TP_EPC_6022_01(
           ImsInterfaceMonitor p_monitorCompRef,
           boolean p_checkMessage
           ImsInterfaceMonitor p_monitorCompRef
       ) runs on ImsTestCoordinator {
           // TODO 
           p_monitorCompRef.start (
               f_receiveDiameterMsg ( mw_STR_dummy , "TP_EPC_6022_01", true )
           );
           p_monitorCompRef.done;
       } // End of function f_mtc_check_TP_EPC_6022_01
 
		/**
@@ -5993,7 +6023,10 @@ group checksTC_IMS_SHARE_0009 {
          ImsInterfaceMonitor p_monitorCompRef,
          boolean p_checkMessage
		) runs on ImsTestCoordinator {
          // TODO 
            p_monitorCompRef.start (
                f_receiveIpMsg ( p_checkMessage , "TP_EPC_6003_02" )
            );
            p_monitorCompRef.done;
		} // End of function f_mtc_check_TP_EPC_6023_01

         /**
+15 −12
Original line number Diff line number Diff line
@@ -247,10 +247,11 @@ module AtsImsIot_TestCases_EPC {
            f_mtc_userRegistration ( v_ueB, v_userInfoB );
            
            // test body
            f_mtc_userRadioEnabled ( v_ueA, false, true );
            f_mtc_check_TP_EPC_6017_01 ( v_config.gmA, false );
            f_mtc_check_TP_EPC_6009_02 ( v_config.gmA, false );
            f_mtc_check_TP_EPC_6018_01 ( v_config.gmA, false );
            f_mtc_check_TP_EPC_6019_01 ( v_config.gmA, false );
            f_mtc_check_TP_EPC_6009_02 ( v_ueA, v_config.gmA );
            f_mtc_check_TP_EPC_6018_01 ( v_config.rx );
            f_mtc_check_TP_EPC_6019_01 ( v_config.rx );
            
            // postamble
            f_PO_user_home_deregistration ( v_ueB );
@@ -295,16 +296,18 @@ module AtsImsIot_TestCases_EPC {
            f_mtc_userRadioEnabled ( v_ueA, true, true ); // UA-A trigger an initial network_attachment by enabling radio interface of its mobile
            f_mtc_userRegistration ( v_ueA, v_userInfoA );
            f_mtc_userRegistration ( v_ueB, v_userInfoB );
			f_mtc_userInitiateCall ( v_ueA, v_userInfoB );
            
            // test body
            f_mtc_check_TP_EPC_6020_01 ( v_config.gmA, false );
            f_mtc_check_TP_EPC_6021_01 ( v_config.gmA, false );
            f_mtc_check_TP_EPC_6022_01 ( v_config.gmA, false );
            f_mtc_check_TP_EPC_6009_01 ( v_config.gmA, false );
            f_mtc_check_TP_EPC_6023_01 ( v_config.gmA, false );
            f_mtc_check_TP_EPC_6012_02 ( v_config.gmA, false );
            f_mtc_check_TP_EPC_6009_02 ( v_config.gmA, false );
            f_mtc_check_TP_EPC_6003_02 ( v_config.gmA, false );
            f_mtc_check_TP_EPC_6020_01 ( v_config.sgi, true );
            f_mtc_userRadioEnabled ( v_ueA, false, true );
            f_mtc_check_TP_EPC_6021_01 ( v_config.mx, false );
            f_mtc_check_TP_EPC_6022_01 ( v_config.rx );
            f_mtc_check_TP_EPC_6009_01 ( v_config.rx );
            f_mtc_check_TP_EPC_6023_01 ( v_config.sgi, false );
            f_mtc_check_TP_EPC_6012_02 ( v_config.mx , v_config.rx );
			f_mtc_check_TP_EPC_6003_02 ( v_config.sgi, false );
            

            // postamble
            f_PO_user_home_deregistration ( v_ueB );
@@ -348,7 +351,7 @@ module AtsImsIot_TestCases_EPC {
            f_mtc_userRegistration ( v_ueB, v_userInfoB );
            
            // test body
            f_mtc_check_TP_EPC_6024_01 ( v_config.gmA, false );
            f_mtc_check_TP_EPC_6024_01 ( v_config.mw, false );
			f_mtc_check_TP_EPC_6025_01 ( v_config.gmA, false );
			f_mtc_check_TP_EPC_6009_02 ( v_config.gmA, false );
            f_mtc_check_TP_EPC_6018_01 ( v_config.gmA, false );