Loading AtsImsIot/AtsImsIot_Functions.ttcn +20 −10 Original line number Diff line number Diff line Loading @@ -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; } Loading @@ -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; } /** Loading LibIms_ConfigAndTigger/LibIms_ConfigAndTrigger.ttcn +1 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,7 @@ module LibIms_ConfigAndTrigger { * password. */ const TriggerCommand c_UE_REGISTRATION := "UE_REGISTRATION"; const TriggerCommand c_UE_CHECKisREGISTERED := "UE_CHECK_IS_REGISTER"; /** * Loading Loading
AtsImsIot/AtsImsIot_Functions.ttcn +20 −10 Original line number Diff line number Diff line Loading @@ -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; } Loading @@ -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; } /** Loading
LibIms_ConfigAndTigger/LibIms_ConfigAndTrigger.ttcn +1 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,7 @@ module LibIms_ConfigAndTrigger { * password. */ const TriggerCommand c_UE_REGISTRATION := "UE_REGISTRATION"; const TriggerCommand c_UE_CHECKisREGISTERED := "UE_CHECK_IS_REGISTER"; /** * Loading