Commit 87b23912 authored by juvancic's avatar juvancic
Browse files

modification of functions/parameters due to splited monitor components per protocol

parent a9a79dca
Loading
Loading
Loading
Loading
+52 −4
Original line number Diff line number Diff line
@@ -29,8 +29,8 @@ module AtsImsIot_TestCases_ATT {
         * 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 ( ) runs on ImsTestCoordinator system IotSystemInterface {
			var CF_ATT v_config;
        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 );
@@ -48,7 +48,7 @@ module AtsImsIot_TestCases_ATT {
            f_cf_adapter_up ( );
            f_cf_user_up ( v_ueA );
            f_cf_user_up ( v_ueA );
            f_cf_epc_call_rel15_up ( v_config );
            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
@@ -72,10 +72,58 @@ module AtsImsIot_TestCases_ATT {
            //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_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
        
    } // End of group networkAttachmentAndDefaultBearer