Commit be6b6a57 authored by wattelet's avatar wattelet
Browse files

EPC TCs second draft

parent 420134ae
Loading
Loading
Loading
Loading
+39 −0
Original line number Diff line number Diff line
@@ -5735,6 +5735,32 @@ group checksTC_IMS_SHARE_0009 {
            // TODO 
        } // End of function f_mtc_check_TP_EPC_6013_01

        /**
         * Starts monitor component behavior for TP_EPC_6014_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.
         */
        function f_mtc_check_TP_EPC_6014_01(
            ImsInterfaceMonitor p_monitorCompRef,
            boolean p_checkMessage
        ) runs on ImsTestCoordinator {
            // TODO 
        } // End of function f_mtc_check_TP_EPC_6014_01

        /**
         * Starts monitor component behavior for TP_EPC_6015_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.
         */
        function f_mtc_check_TP_EPC_6015_01(
            ImsInterfaceMonitor p_monitorCompRef,
            boolean p_checkMessage
        ) runs on ImsTestCoordinator {
            // TODO 
        } // End of function f_mtc_check_TP_EPC_6015_01
        
        /**
         * Starts monitor component behavior for TP_EPC_6017_01
         * @param p_monitorCompRef Reference to monitor component
@@ -5920,6 +5946,19 @@ group checksTC_IMS_SHARE_0009 {
            // TODO 
        } // End of function f_mtc_check_TP_EPC_6030_01
        
         /**
         * Starts monitor component behavior for TP_EPC_6033_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.
         */
        function f_mtc_check_TP_EPC_6033_01(
            ImsInterfaceMonitor p_monitorCompRef,
            boolean p_checkMessage
        ) runs on ImsTestCoordinator {
            // TODO 
        } // End of function f_mtc_check_TP_EPC_6033_01
 
    } // End of group epcChecks
    
} // end group
+102 −70
Original line number Diff line number Diff line
@@ -44,7 +44,6 @@ module AtsImsIot_TestCases_EPC {
    }; 
    
    group networkAttachmentAndDefaultBearer {
        
        /**
         * @desc	Initial Network Attachment and Establishment of the Default Bearer.
         * On successful initial network attachment, the UE should discover the P-CSCF IP address.
@@ -144,7 +143,6 @@ module AtsImsIot_TestCases_EPC {
    } // End of group networkAttachmentAndDefaultBearer

    group imsRegistrationAndAFSignallingBearer {
        
        /**
         * @desc	IMS Initial Registration - Successful.
         * On successful initial registration, the P-CSCF shall request at the PCRF the allocation of a bearer for SIP signalling.
@@ -152,30 +150,39 @@ module AtsImsIot_TestCases_EPC {
         * @see TS 103 029 V3.1.1 clause 7.2.1.1
         */
        testcase TC_IMSEPC_Registration_Initial_Successful_0001 ( ) runs on ImsTestCoordinator system IotSystemInterface {
            var CF_EPC_CALL v_config;
            var IotEquipmentUser v_ueA	:= f_cf_create_IotEquipmentUser ( c_userUE_A );
            var IotEquipmentUser v_ueB	:= f_cf_create_IotEquipmentUser ( c_userUE_B );
            var ImsInterfaceMonitor v_gmA := f_cf_create_monitor(c_gm_A);
            var ImsInterfaceMonitor v_gmB := f_cf_create_monitor(c_gm_B);
            var ImsInterfaceMonitor v_rx := f_cf_create_monitor(c_rx);
            var ImsUserInfo v_userInfoA	:= f_getImUser ( PX_EUT_A );
            var ImsUserInfo v_userInfoB	:= f_getImUser ( PX_EUT_B ); 
            var CF_EPC_CALL v_config := { v_gmA, v_rx, v_gmB };
            v_config.gmA				:= f_cf_create_monitor ( c_gm_A );
            v_config.gmB				:= f_cf_create_monitor ( c_gm_B );
            v_config.rx					:= f_cf_create_monitor ( c_rx );
            
            // map/connect component ports
            f_cf_adapter_up ( );
            f_cf_user_up ( v_ueA );
            f_cf_user_up ( v_ueB );
            f_cf_user_up ( v_ueA );
            f_cf_epc_call_up ( v_config );
            
            // preamble
            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 );
            
            // test body
			f_mtc_check_TP_EPC_6012_01 ( v_config.gmA, false );
			f_mtc_check_TP_EPC_6013_01 ( v_config.gmA, false );
			f_mtc_check_TP_EPC_6014_01 ( v_config.gmA, false );
			f_mtc_check_TP_EPC_6015_01 ( v_config.gmA, false );
            
			// postamble
			f_PO_user_home_deregistration ( v_ueB );
			f_mtc_userRadioEnabled ( v_ueA, false, true );

			//unmap/disconnet component ports
            f_cf_user_down(v_ueA);
			f_cf_user_down ( v_ueB );
			f_cf_user_down ( v_ueA );
			f_cf_epc_call_down ( v_config );
			f_cf_adapter_down ( );
        } // End of TC TC_IMSEPC_Registration_Initial_Successful_0001
@@ -188,38 +195,45 @@ module AtsImsIot_TestCases_EPC {
         * @see TS 103 029 V3.1.1 clause 7.2.2
         */
        testcase TC_IMSEPC_DeRegistration_UE_0003 ( ) runs on ImsTestCoordinator system IotSystemInterface {
            var CF_EPC_CALL v_config;
            var IotEquipmentUser v_ueA	:= f_cf_create_IotEquipmentUser ( c_userUE_A );
            var IotEquipmentUser v_ueB	:= f_cf_create_IotEquipmentUser ( c_userUE_B );
            var ImsInterfaceMonitor v_gmA := f_cf_create_monitor(c_gm_A);
            var ImsInterfaceMonitor v_gmB := f_cf_create_monitor(c_gm_B);
            var ImsInterfaceMonitor v_rx := f_cf_create_monitor(c_rx);
            var ImsUserInfo v_userInfoA	:= f_getImUser ( PX_EUT_A );
            var ImsUserInfo v_userInfoB	:= f_getImUser ( PX_EUT_B ); 
            var CF_EPC_CALL v_config := { v_gmA, v_rx, v_gmB };
            v_config.gmA				:= f_cf_create_monitor ( c_gm_A );
            v_config.gmB				:= f_cf_create_monitor ( c_gm_B );
            v_config.rx					:= f_cf_create_monitor ( c_rx );
            
            // map/connect component ports
            f_cf_adapter_up ( );
            f_cf_user_up ( v_ueA );
            f_cf_user_up ( v_ueB );
            f_cf_user_up ( v_ueA );
            f_cf_epc_call_up ( v_config );
            
            // preamble
            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 );
            
            // test body
            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 );
            
            // postamble
            f_PO_user_home_deregistration ( v_ueB );
            f_mtc_userRadioEnabled ( v_ueA, false, true );

            //unmap/disconnet component ports
            f_cf_user_down(v_ueA);
            f_cf_user_down ( v_ueB );
            f_cf_user_down ( v_ueA );
            f_cf_epc_call_down ( v_config );
            f_cf_adapter_down ( );
        } // End of TC TC_IMSEPC_DeRegistration_UE_0003
        
    } // End of group imsRegistrationAndAFSignallingBearer
    
    group sipSessionAndSessionBearer {
        
        group sipSessionEstablishment { 
    
            /**
@@ -231,30 +245,41 @@ module AtsImsIot_TestCases_EPC {
             * @see TS 103 029 V3.1.1 clause 7.3.1.1.1
             */
            testcase TC_IMSEPC_Session_Establishment_Originating_0001 ( ) runs on ImsTestCoordinator system IotSystemInterface {
                var CF_EPC_CALL v_config;
                var IotEquipmentUser v_ueA	:= f_cf_create_IotEquipmentUser ( c_userUE_A );
                var IotEquipmentUser v_ueB	:= f_cf_create_IotEquipmentUser ( c_userUE_B );
                var ImsInterfaceMonitor v_gmA := f_cf_create_monitor(c_gm_A);
                var ImsInterfaceMonitor v_gmB := f_cf_create_monitor(c_gm_B);
                var ImsInterfaceMonitor v_rx := f_cf_create_monitor(c_rx);
                var ImsUserInfo v_userInfoA	:= f_getImUser ( PX_EUT_A );
                var ImsUserInfo v_userInfoB	:= f_getImUser ( PX_EUT_B ); 
                var CF_EPC_CALL v_config := { v_gmA, v_rx, v_gmB };
                v_config.gmA				:= f_cf_create_monitor ( c_gm_A );
                v_config.gmB				:= f_cf_create_monitor ( c_gm_B );
                v_config.rx					:= f_cf_create_monitor ( c_rx );
            
                // map/connect component ports
                f_cf_adapter_up ( );
                f_cf_user_up ( v_ueA );
                f_cf_user_up ( v_ueB );
                f_cf_user_up ( v_ueA );
                f_cf_epc_call_up ( v_config );
            
                // preamble
                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_6003_02 ( v_config.gmA, false );
				f_mtc_check_TP_EPC_6027_01 ( v_config.gmA, false );
				f_mtc_check_TP_EPC_6028_01 ( v_config.gmA, false );
				f_mtc_check_TP_EPC_6029_01 ( v_config.gmA, false );
				f_mtc_check_TP_EPC_6030_01 ( v_config.gmA, false );
                
                // postamble
                f_PO_user_home_deregistration ( v_ueB );
                f_mtc_userRadioEnabled ( v_ueA, false, true );

                //unmap/disconnet component ports
                f_cf_user_down(v_ueA);
                f_cf_user_down ( v_ueB );
                f_cf_user_down ( v_ueA );
                f_cf_epc_call_down ( v_config );
                f_cf_adapter_down ( );
            } // End of TC TC_IMSEPC_Session_Establishment_Originating_0001
@@ -266,34 +291,42 @@ module AtsImsIot_TestCases_EPC {
             * @see TS 103 029 V3.1.1 clause 7.3.1.1.3
             */
            testcase TC_IMSEPC_Session_Establishment_Originating_0003 ( ) runs on ImsTestCoordinator system IotSystemInterface {
                var CF_EPC_CALL v_config;
                var IotEquipmentUser v_ueA	:= f_cf_create_IotEquipmentUser ( c_userUE_A );
                var IotEquipmentUser v_ueB	:= f_cf_create_IotEquipmentUser ( c_userUE_B );
                var ImsInterfaceMonitor v_gmA := f_cf_create_monitor(c_gm_A);
                var ImsInterfaceMonitor v_gmB := f_cf_create_monitor(c_gm_B);
                var ImsInterfaceMonitor v_rx := f_cf_create_monitor(c_rx);
                var ImsUserInfo v_userInfoA	:= f_getImUser ( PX_EUT_A );
                var ImsUserInfo v_userInfoB	:= f_getImUser ( PX_EUT_B ); 
                var CF_EPC_CALL v_config := { v_gmA, v_rx, v_gmB };
                v_config.gmA				:= f_cf_create_monitor ( c_gm_A );
                v_config.gmB				:= f_cf_create_monitor ( c_gm_B );
                v_config.rx					:= f_cf_create_monitor ( c_rx );
            
                // map/connect component ports
                f_cf_adapter_up ( );
                f_cf_user_up ( v_ueA );
                f_cf_user_up ( v_ueB );
                f_cf_user_up ( v_ueA );
                f_cf_epc_call_up ( v_config );
            
                // preamble
                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_6003_02 ( v_config.gmA, false );
                f_mtc_check_TP_EPC_6033_01 ( v_config.gmA, false );
                f_mtc_check_TP_EPC_6003_02 ( v_config.gmA, false );
                
                // postamble
                f_PO_user_home_deregistration ( v_ueB );
                f_mtc_userRadioEnabled ( v_ueA, false, true );

                //unmap/disconnet component ports
                f_cf_user_down(v_ueA);
                f_cf_user_down ( v_ueB );
                f_cf_user_down ( v_ueA );
                f_cf_epc_call_down ( v_config );
                f_cf_adapter_down ( );
            } // End of TC TC_IMSEPC_Registration_Initial_Successful_0001
            
        } // End of group sipSessionEstablishment
        
        group sipSessionModification { 
@@ -311,7 +344,6 @@ module AtsImsIot_TestCases_EPC {
        group epcInitiatedBearerModification { 
            
        } // End of group epcInitiatedBearerModification
        
    } // End of group sipSessionAndSessionBearer
    
} // End of module AtsImsIot_TestCases_EPC
 No newline at end of file