Commit 56b4d4ff authored by bergengruen's avatar bergengruen
Browse files

Registration triggers updated

parent e90c96ac
Loading
Loading
Loading
Loading
+20 −10
Original line number Diff line number Diff line
@@ -17,16 +17,19 @@ module AtsImsIot_Functions {
		  * @desc
		  *     Starts user component behavior for triggering the registration
		  *     procedures at the UE from test coordinator.
		  * @param p_userCompRef Reference to IMS UE user component
		  * @param p_publicId public user identity
		  * @param p_privateId private user identity
		  * @param p_pw user password
		  * @return
		  *     true in case of successfull execution of the trigger command
		  *     otherwise false
		  */
 		function f_mtc_userTriggerRegistration(EutTrigger p_userCompRef, integer p_productIdx) runs on TestCoordinator return boolean {
 			// TODO fill content
      		var boolean v_status := true; 
     		var ImsUserInfo v_userInfo;
     		// TODO Investigate if f_PR_user_home_registration is to be removed
     		// Reason: Thre is no difference when triggering UE to register in home or visiting NW
     		if( not f_getUserInfo(p_productIdx, v_userInfo) ) { return false; } 
     		
     		v_status := f_mtc_userRegister(p_userCompRef, v_userInfo.publicId, v_userInfo.privateId, v_userInfo.password); 
     		
 			return true;
 		}
 		
@@ -39,9 +42,16 @@ module AtsImsIot_Functions {
		  *     true in case of successfull execution of the trigger command
		  *     otherwise false
		  */
 		function f_mtc_userCheckRegistration(EutTrigger p_userCompRef) runs on TestCoordinator return boolean {
 			// TODO fill content
 			return true;
 		function f_mtc_userCheckRegistration(EutTrigger p_userCompRef) 
            runs on TestCoordinator return boolean {
            var boolean v_success := false;
            p_userCompRef.start(f_userCheckUEisRegistered());
            p_userCompRef.done;
            if(vc_e3e_verdict.verdict == pass) {
      			v_success := true;
  			}    		
     		return v_success;
     		
     		}
 		
 		/**
+1 −0
Original line number Diff line number Diff line
@@ -23,6 +23,7 @@ module LibIms_ConfigAndTrigger {
				 *     password.
				 */
				const TriggerCommand c_UE_REGISTRATION := "UE_REGISTRATION";
				const TriggerCommand c_UE_CHECKisREGISTERED := "UE_CHECK_IS_REGISTER";	
				
				/**
				 *