Commit 30cf15e2 authored by ringst's avatar ringst
Browse files

minor updates in TC_IMS_REG_0001

parent 466b5a90
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -557,11 +557,13 @@ module AtsImsIot_Functions {
    				}
    			}
			} else {
				log ("S-CSCF of " & PX_PRODUCTS[p_ProductIdx].productName & " not found.");
				return "S-CSCF of " & PX_PRODUCTS[p_ProductIdx].productName & " not found.";
			}
			if (v_ipinterfaceinfo > -1) {
				return PX_PRODUCTS[p_ProductIdx].monitorInterfaces[v_interface].interfaceInfo.IpInterfaceInfo[v_ipinterfaceinfo].domainName;
			} else {
				log ("S-CSCF of " & PX_PRODUCTS[p_ProductIdx].productName & " not found.");
				return "S-CSCF of " & PX_PRODUCTS[p_ProductIdx].productName & " not found.";
			}
        }
@@ -593,11 +595,13 @@ module AtsImsIot_Functions {
     	        }
    		  }
		  } else {
			log ("P-CSCF of " & PX_PRODUCTS[p_ProductIdx].productName & " not found.");
			return "P-CSCF of " & PX_PRODUCTS[p_ProductIdx].productName & " not found.";
		  }
		  if (v_ipinterfaceinfo > -1) {
     	  	return PX_PRODUCTS[p_ProductIdx].monitorInterfaces[v_interface].interfaceInfo.IpInterfaceInfo[v_ipinterfaceinfo].domainName;
		  } else {
			log ("P-CSCF of " & PX_PRODUCTS[p_ProductIdx].productName & " not found.");
			return "P-CSCF of " & PX_PRODUCTS[p_ProductIdx].productName & " not found.";
		  }
     	}
+3 −5
Original line number Diff line number Diff line
@@ -46,6 +46,7 @@ module AtsImsIot_TestCases_REG {
		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_anyValidUser := f_getAnyValidUser(PX_EUT_B);
		var Response v_200OK_Step8;
		var Request v_Subscribe_Step10;
		
@@ -55,7 +56,7 @@ module AtsImsIot_TestCases_REG {
		f_cf_monitor_up(v_mw);
		
		// test body
		f_mtc_userTriggerRegistration(v_ueB, f_getAnyValidUser(PX_EUT_B)); // Test Sequence Step 1 @TODO shouldn't this be EUT_A?
		f_mtc_userTriggerRegistration(v_ueB, v_anyValidUser); // Test Sequence Step 1 @TODO shouldn't this be EUT_A?
		
		// @TODO check mw_credentialIntegrityNo, mw_credentialIntegrityYes
		
@@ -80,7 +81,7 @@ module AtsImsIot_TestCases_REG {
		f_mtc_check_TP_IMS_5096_01_mw(v_mw, v_Subscribe_Step10, false); // Check6 then
		
		// Test Sequence Step 2
		f_mtc_userCheckRegistration(v_ueB, f_getAnyValidUser(PX_EUT_B));
		f_mtc_userCheckRegistration(v_ueB, v_anyValidUser);
		
		// postamble
		f_PO_user_home_deregistration(v_ueB);
@@ -239,9 +240,6 @@ module AtsImsIot_TestCases_REG {
		f_cf_monitor_down(v_mw);
	}



	
	/**
	* @desc IMS network supports network initiated re-registration 
	* upon receipt of a new registration with new contact information