Commit 7d8b5c23 authored by Bostjan Pintar's avatar Bostjan Pintar
Browse files

Removal of old modules from previous STFs.

parent 0150dfa4
Loading
Loading
Loading
Loading
+0 −5944

File deleted.

Preview size limit exceeded, changes collapsed.

+2 −2
Original line number Diff line number Diff line
@@ -200,7 +200,7 @@ module AtsImsIot_TD_REG{
                    
                    f_mtc_check_TP_GM_PCSCF_REGISTER_02(vc_vxlte_monitor_components.gmA, false); // Events 11, 24
                    f_mtc_check_TP_MW_PCSCF_REGISTER_02(vc_vxlte_monitor_components.mwPS, false); // Events 12, 23
                    f_mtc_check_TP_MW_ICSCF_REGISTER_02(vc_vxlte_monitor_components.mwIS, false, true); // Event 15, 22
                    f_mtc_check_TP_MW_ICSCF_REGISTER_02(vc_vxlte_monitor_components.mwIS, false); // Event 15, 22
                    
                    f_mtc_check_TP_CX_HSS_UAA_02(vc_vxlte_monitor_components.cxIH);// Event 13, 14
                    f_mtc_check_TP_CX_HSS_SAA_01(vc_vxlte_monitor_components.cxSH);// Event 16, 17
@@ -271,7 +271,7 @@ module AtsImsIot_TD_REG{
                    
                    f_mtc_check_TP_GM_PCSCF_REGISTER_04(vc_vxlte_monitor_components.gmA); // Events 1, 14
                    f_mtc_check_TP_MW_PCSCF_REGISTER_04(vc_vxlte_monitor_components.mwPS, true); // Event 2, 13
                    f_mtc_check_TP_IC_IBCF_REGISTER_01(vc_vxlte_monitor_components.ic); // Event 3, 12
                    f_mtc_check_TP_IC_IBCF_REGISTER_01(vc_vxlte_monitor_components.ic, false); // Event 3, 12
                    f_mtc_check_TP_MW_ICSCF_REGISTER_04(vc_vxlte_monitor_components.mwIS, true); // Event 7, 10
                    
                    f_mtc_check_TP_CX_HSS_UAA_01(vc_vxlte_monitor_components.cxIH);// Event 5, 6//may be removed because in other network
+12 −18
Original line number Diff line number Diff line
@@ -28,24 +28,18 @@ module AtsImsIot_TP_behavior_IC
	import from LibIot_PIXITS {modulepar PX_EUT_A, PX_EUT_B;}
	// LibSip
	import from LibSip_SDPTypes { type SDP_media_desc_list };
	// LibMsrp
	import from LibMsrp_TypesAndValues { type MsrpURI };
	import from LibMsrp_Functions { function f_str2msrpUri };
	import from LibMsrp_Templates { 
		template 
			m_msrpSend_Dummy, mw_msrpSEND_toPath_fromPath_contentType, 
			m_msrpReport_Dummy, mw_msrpREPORT_success, 
			m_msrpResponse_Dummy, mw_msrpResponse_toPath_fromPath, 
			mw_toPath,  mw_fromPath, mw_msrpResponse_toPath_fromPath_with_transferReports,
			m_msrpURIs_ToPath_Dummy, m_msrpURIs_FromPath_Dummy, 
			mw_contentType 
	};
	import from DiameterS6a_Templates all;
	import from DiameterS6a_PIXITS all;
	import from DiameterGx_Templates all;
	// LibDiameter
	import from LibDiameter_Templates all;
//	import from DiameterRx_Templates all;
//	// LibMsrp
//	import from LibMsrp_TypesAndValues { type MsrpURI };
//	import from LibMsrp_Functions { function f_str2msrpUri };
//	import from LibMsrp_Templates { 
//		template 
//			m_msrpSend_Dummy, mw_msrpSEND_toPath_fromPath_contentType, 
//			m_msrpReport_Dummy, mw_msrpREPORT_success, 
//			m_msrpResponse_Dummy, mw_msrpResponse_toPath_fromPath, 
//			mw_toPath,  mw_fromPath, mw_msrpResponse_toPath_fromPath_with_transferReports,
//			m_msrpURIs_ToPath_Dummy, m_msrpURIs_FromPath_Dummy, 
//			mw_contentType 
//	};

    import from AtsImsIot_Templates_IC all;

+12 −17
Original line number Diff line number Diff line
@@ -29,23 +29,18 @@ module AtsImsIot_TP_behavior_ISC
	// LibSip
	import from LibSip_SDPTypes { type SDP_media_desc_list };
	// LibMsrp
	import from LibMsrp_TypesAndValues { type MsrpURI };
	import from LibMsrp_Functions { function f_str2msrpUri };
	import from LibMsrp_Templates { 
		template 
			m_msrpSend_Dummy, mw_msrpSEND_toPath_fromPath_contentType, 
			m_msrpReport_Dummy, mw_msrpREPORT_success, 
			m_msrpResponse_Dummy, mw_msrpResponse_toPath_fromPath, 
			mw_toPath,  mw_fromPath, mw_msrpResponse_toPath_fromPath_with_transferReports,
			m_msrpURIs_ToPath_Dummy, m_msrpURIs_FromPath_Dummy, 
			mw_contentType 
	};
	import from DiameterS6a_Templates all;
	import from DiameterS6a_PIXITS all;
	import from DiameterGx_Templates all;
	// LibDiameter
	import from LibDiameter_Templates all;
//	import from DiameterRx_Templates all;
//	import from LibMsrp_TypesAndValues { type MsrpURI };
//	import from LibMsrp_Functions { function f_str2msrpUri };
//	import from LibMsrp_Templates { 
//		template 
//			m_msrpSend_Dummy, mw_msrpSEND_toPath_fromPath_contentType, 
//			m_msrpReport_Dummy, mw_msrpREPORT_success, 
//			m_msrpResponse_Dummy, mw_msrpResponse_toPath_fromPath, 
//			mw_toPath,  mw_fromPath, mw_msrpResponse_toPath_fromPath_with_transferReports,
//			m_msrpURIs_ToPath_Dummy, m_msrpURIs_FromPath_Dummy, 
//			mw_contentType 
//	};


    import from AtsImsIot_Templates_IC all;

+0 −175
Original line number Diff line number Diff line
/**
 *  @author     STF 574
 *  @version    $Id: $
 *  @desc       This module provides ATS specific test case definitions for Network Attachment.
 *  @see        ETSI TS 103 653-2 (2020)
 */
module AtsImsIot_TestCases_ATT {
    
    // LibCommon
    // LibSip
    // LibIms
    import from LibIms_UpperTester { type ImsUserInfo };
    // LibIot
    import from LibIot_TestInterface { type IotEquipmentUser };
    import from LibIot_TestConfiguration { function f_cf_create_IotEquipmentUser };
    import from LibIot_PIXITS { modulepar PX_EUT_A, PX_EUT_B, PX_EUT_C };
    import from LibIot_VxLTE_Functions all;
    // LibImsIot
    import from AtsImsIot_Functions { function f_getImUser };
    // ImsIot
    import from AtsImsIot_TestConfiguration all; 
    import from AtsImsIot_TestSystem all; 
    import from AtsImsIot_Functions all; 
    import from AtsImsIot_Behavior { group epcChecks; function f_mtc_check_response_mx, f_mtc_check_TP_IMS_5011_01_gm; group checksTC_VxLTE_INT_ATT_01 }; 
    
    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.
         * The EPC will create the Default Bearers which will allow communication only between the UE and the P-CSCF
         * @see TS 124 229 [2], clause 9.2.1 and L.2.2.1; TS 129 212 [9], clauses 4.5.1 (item 1) and 4a.5.1 (item 1); TS 129 272 [10], clause 5.2.1.1
         */
        testcase TC_VxLTE_INT_ATT_01_old ( ) runs on ImsTestCoordinator system IotSystemInterface {
			var CF_ATT_old 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 ImsUserInfo v_userInfoA	:= f_getImUser ( PX_EUT_A );
            var ImsUserInfo v_userInfoB	:= f_getImUser ( PX_EUT_B ); 
            v_config.gmA				:= f_cf_create_monitor ( c_gm_A );
            v_config.gmB				:= f_cf_create_monitor ( c_gm_B );
            v_config.mxA				:= f_cf_create_monitor ( c_mx_A );
			v_config.rx                 := f_cf_create_monitor ( c_rx );
            v_config.s6a				:= f_cf_create_monitor ( c_s6a );
            v_config.gx                 := f_cf_create_monitor ( c_gx );
            v_config.mwPS					:= f_cf_create_monitor ( c_mw );
            v_config.sgi				:= f_cf_create_monitor ( c_sgi );
            
            // map/connect component ports
            f_cf_adapter_up ( );
            f_cf_user_up ( v_ueA );
            f_cf_user_up ( v_ueA );
            f_cf_epc_call_rel15_up_old ( 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_ueB, v_userInfoB );
            
            // test body
            // Check that user A can register to IMS A
            f_mtc_userRegistration ( v_ueA, v_userInfoA ); // Send REGISTER request message
            f_mtc_check_TP_EPC_6002_01 ( v_config.gmA, false ); // Check
//TODO: commented out dure to restructure of Test functions
//            f_mtc_check_TP_S6A_MME_ULR_01 ( v_config.s6a, false ); // Check (ULR – Event 2)
//            f_mtc_check_TP_S6A_HSS_ULA_01 ( v_config.s6a, false ); // Check (ULA – Event 3) 
//            f_mtc_check_TP_GX_PCRF_CCA_01 ( v_config.gx, false ); // Check (CCR, CCA – Events 4, 5)
            f_mtc_userCheckRegistration ( v_ueA, f_getAnyValidUser ( PX_EUT_A ) ); 
            f_mtc_check_TP_EPC_6003_01 ( v_ueA, v_config.gmA, v_ueB, v_config.gmB ); // Test sequence #4-5
            
            // postamble
            f_PO_user_home_deregistration ( v_ueB );
            f_PO_user_home_deregistration ( v_ueA );
            f_mtc_userRadioEnabled ( v_ueA, false, true );
            
            //unmap/disconnet component ports
            f_cf_user_down ( v_ueB );
            f_cf_user_down ( v_ueA );
            f_cf_epc_call_rel15_down_old ( v_config );
            f_cf_adapter_down ( );
        } // End of TC TC_VxLTE_INT_ATT_01
        
		testcase TC_VxLTE_INT_ATT_01 ( ) runs on ImsTestCoordinator system IotSystemInterface {
			var CF_ATT 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 ImsUserInfo v_userInfoA	:= f_getImUser ( PX_EUT_A );
			var ImsUserInfo v_userInfoB	:= f_getImUser ( PX_EUT_B ); 
			
			v_config.gmA				:= f_cf_create_monitor_sip ( c_gm_A );
			v_config.gmB				:= f_cf_create_monitor_sip ( c_gm_B );
			v_config.mxA				:= f_cf_create_monitor_sip ( c_mx_A );
			v_config.rx                 := f_cf_create_monitor_diameter ( c_rx );
			v_config.s6a				:= f_cf_create_monitor_diameter ( c_s6a );
			v_config.gx                 := f_cf_create_monitor_diameter ( c_gx );
			v_config.mw					:= f_cf_create_monitor_sip ( c_mw );
			v_config.sgi				:= f_cf_create_monitor_sgi ( c_sgi );
			
			// map/connect component ports
			f_cf_adapter_up ( );
			f_cf_user_up ( v_ueA );
			f_cf_user_up ( v_ueA );
			f_cf_epc_call_rel15_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_ueB, v_userInfoB );
//    
//			// test body
//			// Check that user A can register to IMS A
//			f_mtc_userRegistration ( v_ueA, v_userInfoA ); // Send REGISTER request message
//			f_mtc_check_TP_EPC_6002_01 ( v_config.gmA, false ); // Check
//			f_mtc_check_TP_S6A_MME_ULR_01 ( v_config.s6a, false ); // Check (ULR – Event 2)
//			f_mtc_check_TP_S6A_HSS_ULA_01 ( v_config.s6a, false ); // Check (ULA – Event 3) 
//			f_mtc_check_TP_GX_PCRF_CCA_01 ( v_config.gx, false ); // Check (CCR, CCA – Events 4, 5)
//			f_mtc_userCheckRegistration ( v_ueA, f_getAnyValidUser ( PX_EUT_A ) ); 
//			f_mtc_check_TP_EPC_6003_01 ( v_ueA, v_config.gmA, v_ueB, v_config.gmB ); // Test sequence #4-5
//    
//			// postamble
//			f_PO_user_home_deregistration ( v_ueB );
//			f_PO_user_home_deregistration ( v_ueA );
//			f_mtc_userRadioEnabled ( v_ueA, false, true );
    
			//unmap/disconnet component ports
			f_cf_user_down ( v_ueB );
			f_cf_user_down ( v_ueA );
			f_cf_epc_call_rel15_down ( v_config );
			f_cf_adapter_down ( );
		} // End of TC TC_VxLTE_INT_ATT_01_new
		
		testcase TC_VxLTE_INT_ATT_01_dynamicMonitorComponents ( ) runs on ImsTestCoordinator system IotSystemInterface {
			
			var IotEquipmentUser v_ueA	:= f_cf_create_IotEquipmentUser ( c_userUE_A );
			var IotEquipmentUser v_ueB	:= f_cf_create_IotEquipmentUser ( c_userUE_B );
			var ImsUserInfo v_userInfoA	:= f_getImUser ( PX_EUT_A );
			var ImsUserInfo v_userInfoB	:= f_getImUser ( PX_EUT_B ); 
	
			f_setVxLteMonIterfacesAvailability();
			//TODO: Check if needed interfaces are available per TD or TD-GROUP!!!
			f_cf_createVxLteMonitor();	
			
			// map/connect component ports
			f_cf_adapter_up ( );
			f_cf_user_up ( v_ueA );
			f_cf_user_up ( v_ueB );
			f_cf_VxLteMonitor_Up();

			// 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_ueB, v_userInfoB );
    
			// test body
					// Check that user A can register to IMS A
//					f_mtc_userRegistration ( v_ueA, v_userInfoA ); // Send REGISTER request message
//					f_mtc_check_TP_EPC_6002_01 ( v_config.gmA, false ); // Check
			//f_mtc_check_TP_S6A_MME_ULR_01 ( v_config.s6a, false ); // Check (ULR – Event 2)
			//f_mtc_check_TP_S6A_HSS_ULA_01 ( v_config.s6a, false ); // Check (ULA – Event 3) 
			//f_mtc_check_TP_GX_PCRF_CCA_01 ( vc_vxlte_monitor_components.gx, false ); // Check (CCR, CCA – Events 4, 5)
//					f_mtc_userCheckRegistration ( v_ueA, f_getAnyValidUser ( PX_EUT_A ) ); 
//					f_mtc_check_TP_EPC_6003_01 ( v_ueA, v_config.gmA, v_ueB, v_config.gmB ); // Test sequence #4-5
    
			// postamble
//					f_PO_user_home_deregistration ( v_ueB );
//					f_PO_user_home_deregistration ( v_ueA );
//					f_mtc_userRadioEnabled ( v_ueA, false, true );

			//unmap/disconnet component ports
			f_cf_user_down ( v_ueB );
			f_cf_user_down ( v_ueA );
			f_cf_VxLteMonitor_Down();
			f_cf_adapter_down ( );
		} // End of TC TC_VxLTE_INT_ATT_01_dynamicMonitorComponents
        
    } // End of group networkAttachmentAndDefaultBearer

    
} // End of module AtsImsIot_TestCases_ATT
 No newline at end of file
Loading