Commit 6cac50d8 authored by pintar's avatar pintar
Browse files

update of functiones and TC_IMS_CALL_0003

parent b70fc652
Loading
Loading
Loading
Loading
+48 −18
Original line number Diff line number Diff line
@@ -50,9 +50,7 @@ module AtsImsIot_TestCases_CALL {
		// map/connect component ports
		f_cf_user_up(v_ueA);
		f_cf_user_up(v_ueB);
		f_cf_monitor_up(v_gmA);
		f_cf_monitor_up(v_gmB);
		f_cf_monitor_up(v_mw);
		f_cf_int_call_up({v_gmA, v_mw, v_gmB});
		
		// preamble
		f_mtc_userTriggerRegistration(v_ueA, v_userInfoA); 
@@ -112,9 +110,7 @@ module AtsImsIot_TestCases_CALL {
		//unmap/disconnet component ports
		f_cf_user_down(v_ueA);
		f_cf_user_down(v_ueB);
		f_cf_monitor_down(v_gmA);
		f_cf_monitor_down(v_gmB);
		f_cf_monitor_down(v_mw);
		f_cf_int_call_down({v_gmA, v_mw, v_gmB});
	} //end testcase TC_IMS_CALL_0001
	
	
@@ -137,9 +133,7 @@ module AtsImsIot_TestCases_CALL {
		f_cf_user_up(v_ueA);
		f_cf_user_up(v_ueB);
		f_cf_user_up(v_ueB2);
		f_cf_monitor_up(v_gmA);
		f_cf_monitor_up(v_gmB);
		f_cf_monitor_up(v_mw);
		f_cf_int_call_up({v_gmA, v_mw, v_gmB});
		
		// preamble
		f_mtc_userTriggerRegistration(v_ueA, v_userInfoA); 
@@ -207,9 +201,7 @@ module AtsImsIot_TestCases_CALL {
		f_cf_user_down(v_ueA);
		f_cf_user_down(v_ueB);
		f_cf_user_down(v_ueB2);
		f_cf_monitor_down(v_gmA);
		f_cf_monitor_down(v_gmB);
		f_cf_monitor_down(v_mw);
		f_cf_int_call_down({v_gmA, v_mw, v_gmB});
	} //end testcase TC_IMS_CALL_0001F
	
	
@@ -230,9 +222,7 @@ module AtsImsIot_TestCases_CALL {
		// map/connect component ports
		f_cf_user_up(v_ueA);
		f_cf_user_up(v_ueB);
		f_cf_monitor_up(v_gmA);
		f_cf_monitor_up(v_gmB);
		f_cf_monitor_up(v_mw);
		f_cf_int_call_up({v_gmA, v_mw, v_gmB});
		
		// preamble
		f_mtc_userTriggerRegistration(v_ueA, v_userInfoA); 
@@ -290,9 +280,49 @@ module AtsImsIot_TestCases_CALL {
		//unmap/disconnet component ports
		f_cf_user_down(v_ueA);
		f_cf_user_down(v_ueB);
		f_cf_monitor_down(v_gmA);
		f_cf_monitor_down(v_gmB);
		f_cf_monitor_down(v_mw);
		f_cf_int_call_down({v_gmA, v_mw, v_gmB});
	} //end testcase TC_IMS_CALL_0002
	
	
	/**
		* @desc Rejection of call from barred user
		* @see TS 186 011-2 V2.3.1 cause 4.5.3.1.1.4
		*/
	testcase TC_IMS_CALL_0003() runs on ImsTestCoordinator system IotSystemInterface {
		// create components
		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_mw := f_cf_create_monitor(c_mw);
		var ImsUserInfo v_userInfoA := f_getAnyValidUser(PX_EUT_A);
		var ImsUserInfo v_userInfoB := f_getAnyValidUser(PX_EUT_B);
				
		// map/connect component ports
		f_cf_user_up(v_ueA);
		f_cf_user_up(v_ueB);
		f_cf_int_call_up({v_gmA, v_mw, omit});
		
		// preamble
		f_mtc_userTriggerRegistration(v_ueA, v_userInfoA); 
		f_mtc_userTriggerRegistration(v_ueB, v_userInfoB); 
		
		// test body
		f_mtc_userTriggerInitiateCall (v_ueA, v_userInfoB); //Test Sequence Step 1
		
		//check 1 (INVITE)
		f_mtc_check_TP_IMS_5108_05_gm(v_gmA, false); // Check1	
		f_mtc_check_TP_IMS_5108_05_mw(v_mw, false); // Check1
		
		f_mtc_userCheckCallCannotBeEstablished(v_ueA); //Test Sequence Step 2
		
		// postamble
		f_PO_user_home_deregistration(v_ueA);
		f_PO_user_home_deregistration(v_ueB);
		
		//unmap/disconnet component ports
		f_cf_user_down(v_ueA);
		f_cf_user_down(v_ueB);
		f_cf_int_call_down({v_gmA, v_mw, omit});
	} //end testcase TC_IMS_CALL_0003
	
}
 No newline at end of file