Loading AtsImsIot/AtsImsIot_Functions.ttcn +57 −11 Original line number Diff line number Diff line Loading @@ -144,7 +144,7 @@ module AtsImsIot_Functions { /** * * @desc Starts user component behaviour for checking that the User * Call has been ansered * Call has been answered * @param p_userCompRef Reference to IMS UE user component * @return * true in case of successfull execution of the trigger command Loading Loading @@ -181,7 +181,7 @@ module AtsImsIot_Functions { /** * * @desc Starts user component behaviour for checking that the User * Call has been ansered * Call has been ended * @param p_userCompRef Reference to IMS UE user component * @return * true in case of successfull execution of the trigger command Loading Loading @@ -211,10 +211,33 @@ module AtsImsIot_Functions { function f_mtc_userAddNewMediaStream(EquipmentUser p_ueRef) runs on TestCoordinator return boolean { var boolean v_status := true; // TODO v_status := f_mtc_userAddNewMediaStreamSuccessful(p_ueRef); return v_status; } /** * * @desc Starts user component behaviour for checking that * a new media stream has been added * @param p_userCompRef Reference to IMS UE user component * @return * true in case of successfull execution of the trigger command * otherwise false */ function f_mtc_userAddNewMediaStreamSuccessful(EquipmentUser p_userCompRef) runs on TestCoordinator return boolean { var boolean v_success := false; p_userCompRef.start(f_checkUserAddNewMediaStream()); p_userCompRef.done; if(f_getE2EVerdict() == pass) { v_success := true; } return v_success; } /** * @desc Trigger UE given by p_ueRef to remove a media stream * @param p_userCompRef Reference to IMS UE user component Loading @@ -225,10 +248,33 @@ module AtsImsIot_Functions { function f_mtc_userRemoveMediaStream(EquipmentUser p_ueRef) runs on TestCoordinator return boolean { var boolean v_status := true; // TODO v_status := f_mtc_userRemoveNewMediaStreamSuccessful(p_ueRef); return v_status; } /** * * @desc Starts user component behaviour for checking that * a new media stream has been added * @param p_userCompRef Reference to IMS UE user component * @return * true in case of successfull execution of the trigger command * otherwise false */ function f_mtc_userRemoveNewMediaStreamSuccessful(EquipmentUser p_userCompRef) runs on TestCoordinator return boolean { var boolean v_success := false; p_userCompRef.start(f_checkUserRemoveNewMediaStream()); p_userCompRef.done; if(f_getE2EVerdict() == pass) { v_success := true; } return v_success; } /** * @desc Trigger UE given by p_ueRef to check the remove of a media stream Loading LibIms_ConfigAndTrigger/LibIms_UpperTester.ttcn +11 −1 Original line number Diff line number Diff line Loading @@ -32,6 +32,8 @@ module LibIms_UpperTester { const EquipmentCommand c_UE_CHECK_CALLisINITIALIZED := "UE_CHECK_CALL_IS_INITIALIZED"; const EquipmentCommand c_UE_CHECK_CALLisANSWERED := "UE_CHECK_CALL_IS_ANSWERED"; const EquipmentCommand c_UE_CHECK_CALLisENDED := "UE_CHECK_CALL_IS_ANSWERED"; const EquipmentCommand c_UE_CHECK_NEWMEDIASTREAMisADDED := "UE_CHECK_NEW_MEDIA_STREAM_IS_ADDED"; const EquipmentCommand c_UE_CHECK_REMOVEMEDIASTREAMisADDED := "UE_CHECK_NEW_MEDIA_STREAM_IS_REMOVED"; /** Loading Loading @@ -93,6 +95,14 @@ module LibIms_UpperTester { function f_checkUserCallIsEnded() runs on EquipmentUser { f_sendEquipmentCmd(valueof(m_EQ_Request(c_UE_CHECK_CALLisENDED, {}))); } function f_checkUserAddNewMediaStream() runs on EquipmentUser { f_sendEquipmentCmd(valueof(m_EQ_Request(c_UE_CHECK_NEWMEDIASTREAMisADDED, {}))); } function f_checkUserRemoveNewMediaStream() runs on EquipmentUser { f_sendEquipmentCmd(valueof(m_EQ_Request(c_UE_CHECK_REMOVEMEDIASTREAMisADDED, {}))); } /** * Loading Loading
AtsImsIot/AtsImsIot_Functions.ttcn +57 −11 Original line number Diff line number Diff line Loading @@ -144,7 +144,7 @@ module AtsImsIot_Functions { /** * * @desc Starts user component behaviour for checking that the User * Call has been ansered * Call has been answered * @param p_userCompRef Reference to IMS UE user component * @return * true in case of successfull execution of the trigger command Loading Loading @@ -181,7 +181,7 @@ module AtsImsIot_Functions { /** * * @desc Starts user component behaviour for checking that the User * Call has been ansered * Call has been ended * @param p_userCompRef Reference to IMS UE user component * @return * true in case of successfull execution of the trigger command Loading Loading @@ -211,10 +211,33 @@ module AtsImsIot_Functions { function f_mtc_userAddNewMediaStream(EquipmentUser p_ueRef) runs on TestCoordinator return boolean { var boolean v_status := true; // TODO v_status := f_mtc_userAddNewMediaStreamSuccessful(p_ueRef); return v_status; } /** * * @desc Starts user component behaviour for checking that * a new media stream has been added * @param p_userCompRef Reference to IMS UE user component * @return * true in case of successfull execution of the trigger command * otherwise false */ function f_mtc_userAddNewMediaStreamSuccessful(EquipmentUser p_userCompRef) runs on TestCoordinator return boolean { var boolean v_success := false; p_userCompRef.start(f_checkUserAddNewMediaStream()); p_userCompRef.done; if(f_getE2EVerdict() == pass) { v_success := true; } return v_success; } /** * @desc Trigger UE given by p_ueRef to remove a media stream * @param p_userCompRef Reference to IMS UE user component Loading @@ -225,10 +248,33 @@ module AtsImsIot_Functions { function f_mtc_userRemoveMediaStream(EquipmentUser p_ueRef) runs on TestCoordinator return boolean { var boolean v_status := true; // TODO v_status := f_mtc_userRemoveNewMediaStreamSuccessful(p_ueRef); return v_status; } /** * * @desc Starts user component behaviour for checking that * a new media stream has been added * @param p_userCompRef Reference to IMS UE user component * @return * true in case of successfull execution of the trigger command * otherwise false */ function f_mtc_userRemoveNewMediaStreamSuccessful(EquipmentUser p_userCompRef) runs on TestCoordinator return boolean { var boolean v_success := false; p_userCompRef.start(f_checkUserRemoveNewMediaStream()); p_userCompRef.done; if(f_getE2EVerdict() == pass) { v_success := true; } return v_success; } /** * @desc Trigger UE given by p_ueRef to check the remove of a media stream Loading
LibIms_ConfigAndTrigger/LibIms_UpperTester.ttcn +11 −1 Original line number Diff line number Diff line Loading @@ -32,6 +32,8 @@ module LibIms_UpperTester { const EquipmentCommand c_UE_CHECK_CALLisINITIALIZED := "UE_CHECK_CALL_IS_INITIALIZED"; const EquipmentCommand c_UE_CHECK_CALLisANSWERED := "UE_CHECK_CALL_IS_ANSWERED"; const EquipmentCommand c_UE_CHECK_CALLisENDED := "UE_CHECK_CALL_IS_ANSWERED"; const EquipmentCommand c_UE_CHECK_NEWMEDIASTREAMisADDED := "UE_CHECK_NEW_MEDIA_STREAM_IS_ADDED"; const EquipmentCommand c_UE_CHECK_REMOVEMEDIASTREAMisADDED := "UE_CHECK_NEW_MEDIA_STREAM_IS_REMOVED"; /** Loading Loading @@ -93,6 +95,14 @@ module LibIms_UpperTester { function f_checkUserCallIsEnded() runs on EquipmentUser { f_sendEquipmentCmd(valueof(m_EQ_Request(c_UE_CHECK_CALLisENDED, {}))); } function f_checkUserAddNewMediaStream() runs on EquipmentUser { f_sendEquipmentCmd(valueof(m_EQ_Request(c_UE_CHECK_NEWMEDIASTREAMisADDED, {}))); } function f_checkUserRemoveNewMediaStream() runs on EquipmentUser { f_sendEquipmentCmd(valueof(m_EQ_Request(c_UE_CHECK_REMOVEMEDIASTREAMisADDED, {}))); } /** * Loading