Loading AtsImsIot/AtsImsIot_Behavior.ttcn +96 −0 Original line number Diff line number Diff line Loading @@ -3542,6 +3542,102 @@ group checksTC_IMS_CHAT_0014 { }//end group checksTC_IMS_CHAT_0014 group checksTC_IMS_SHARE_0001 { /** * @desc Starts monitor component behavior * @param p_monitorCompRef Reference to monitor component */ function f_mtc_check_TP_IMS_CONTENT_SHARE_01_gm( ImsInterfaceMonitor p_monitorCompRef, boolean p_checkMessage ) runs on ImsTestCoordinator { p_monitorCompRef.start( f_imsIot_receive( {mw_SipRequest(mw_OPTIONS_Request_Base(?))}, {}, {0, omit}, "TP_IMS_CONTENT_SHARE_01", false, p_checkMessage ) ); p_monitorCompRef.done; } /** * @desc Starts monitor component behavior * @param p_monitorCompRef Reference to monitor component */ function f_mtc_check_TP_IMS_CONTENT_SHARE_01_ic( ImsInterfaceMonitor p_monitorCompRef, boolean p_checkMessage ) runs on ImsTestCoordinator { var charstring v_EUT_A_Addr := f_GetEUTScscfAddress(PX_EUT_A); p_monitorCompRef.start( f_imsIot_receive( {mw_SipRequest(mdw_TP_IMS_CONTENT_SHARE_01_ic(?))}, {}, {0, omit}, "TP_IMS_CONTENT_SHARE_01", false, p_checkMessage ) ); p_monitorCompRef.done; } //function*/ /** * @desc Starts monitor component behavior * @param p_monitorCompRef Reference to monitor component */ function f_mtc_check_TP_IMS_CONTENT_SHARE_02_gm( ImsInterfaceMonitor p_monitorCompRef, boolean p_checkMessage ) runs on ImsTestCoordinator { p_monitorCompRef.start( f_imsIot_receive( {mw_SipRequest(mw_INVITE_Request_Base)}, {}, {0, omit}, "TP_IMS_CONTENT_SHARE_02", false, p_checkMessage ) ); p_monitorCompRef.done; } /** * @desc Starts monitor component behavior * @param p_monitorCompRef Reference to monitor component */ function f_mtc_check_TP_IMS_CONTENT_SHARE_02_ic( ImsInterfaceMonitor p_monitorCompRef, boolean p_checkMessage ) runs on ImsTestCoordinator { var charstring v_EUT_A_Addr := f_GetEUTScscfAddress(PX_EUT_A); p_monitorCompRef.start( f_imsIot_receive( {mw_SipRequest(mdw_TP_IMS_CONTENT_SHARE_02_ic)}, {}, {0, omit}, "TP_IMS_CONTENT_SHARE_02", false, p_checkMessage ) ); p_monitorCompRef.done; } //function*/ }//end group checksTC_IMS_SHARE_0001 group messagingChecks { /** * @desc Starts monitor component behavior for TP_IMS_5097_05 Loading AtsImsIot/AtsImsIot_Functions.ttcn +127 −0 Original line number Diff line number Diff line Loading @@ -178,6 +178,31 @@ module AtsImsIot_Functions { return v_status; } /** * @desc Trigger UE given by p_ueRef to initiate an MO call * @param p_ueRef Reference to IMS UE user component * @param p_calledParty ImsUserInfo of called party * @return * true in case of successfull execution of the trigger command * otherwise false */ function f_mtc_userSetupVoiceCall(EquipmentUser p_ueRefA, EquipmentUser p_ueRefB, ImsUserInfo p_calledPartyB) runs on TestCoordinator return boolean { var boolean v_success := false; f_mtc_userInitiateCall (p_ueRefA, p_calledPartyB); f_mtc_userCheckRinging(p_ueRefB); f_mtc_userCheckPeerIsRinging(p_ueRefA); f_mtc_userAnswerCall(p_ueRefB); f_mtc_userCheckCallEstablished(p_ueRefA); f_mtc_userCheckCallEstablished(p_ueRefB); if(f_getE2EVerdict() == pass) { v_success := true; } return v_success; } /** * * @desc Starts user component behaviour for checking that the User Loading Loading @@ -1359,6 +1384,108 @@ module AtsImsIot_Functions { return v_status; } /** * @desc Trigger UE given by p_ueRef to initiate sharing content * @param p_ueRef Reference to IMS UE user component * @param p_calledParty ImsUserInfo of called party * @return * true in case of successfull execution of the trigger command * otherwise false */ function f_mtc_userInitiateShare(EquipmentUser p_ueRef, ImsUserInfo p_calledParty) runs on TestCoordinator return boolean { var boolean v_status := true; // TODO //if( p_calledParty.publicId == "dummy" ) { return true; } //v_status := f_mtc_userInitiateCallSuccessful(p_ueRef); return v_status; } /** * @desc Trigger UE given by p_ueRef to check partner sharing capabilities * @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_userCheckPartnerSharingCapabilities(EquipmentUser p_userCompRef) runs on TestCoordinator return boolean { var boolean v_status := true; // TODO return v_status; } /** * @desc Trigger UE given by p_ueRef to request acceptance of sharing content * @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_userRequestedToAcceptSharing(EquipmentUser p_userCompRef) runs on TestCoordinator return boolean { var boolean v_status := true; // TODO return v_status; } /** * @desc Trigger UE given by p_ueRef to accept sharing content * @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_userAcceptsSharing(EquipmentUser p_userCompRef) runs on TestCoordinator return boolean { var boolean v_status := true; // TODO return v_status; } /** * @desc Trigger UE given by p_ueRef to check that user is informed that * request has been answered * @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_userCheckSharingRequestAnswered(EquipmentUser p_userCompRef) runs on TestCoordinator return boolean { var boolean v_status := true; // TODO return v_status; } /** * @desc Trigger UE given by p_ueRef to ends sharing content * @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_EndSharing(EquipmentUser p_userCompRef) runs on TestCoordinator return boolean { var boolean v_status := true; // TODO return v_status; } /** * @desc Trigger UE given by p_ueRef to check if content sharing ends * @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_userCheckSharingEnded(EquipmentUser p_userCompRef) runs on TestCoordinator return boolean { var boolean v_status := true; // TODO return v_status; } /** * @desc Trigger IMS Network to deregister UE given by p_ueRef Loading AtsImsIot/AtsImsIot_Templates.ttcn +58 −1 Original line number Diff line number Diff line Loading @@ -1902,7 +1902,7 @@ module AtsImsIot_Templates { } /** * @desc VYE Request checking TP_IMS_5074_01 * @desc BYE Request checking TP_IMS_5074_01 */ template BYE_Request mdw_TP_IMS_5074_01_ic( template CallId p_callId, Loading Loading @@ -1973,6 +1973,31 @@ module AtsImsIot_Templates { } } /** * @desc OPTIONS Request checking TP_IMS_CONTENT_SHARE_01 */ template OPTIONS_Request mdw_TP_IMS_CONTENT_SHARE_01_ic( template CallId p_callId ) modifies mw_OPTIONS_Request_Base := { msgHeader := { acceptContact := mw_AcceptContact_share, contact := mw_Contact_share } } /** * @desc INVITE Request checking TP_IMS_CONTENT_SHARE_02 */ template INVITE_Request mdw_TP_IMS_CONTENT_SHARE_02_ic modifies mw_INVITE_Request_Base := { msgHeader := { acceptContact := mw_AcceptContact_share, contact := mw_Contact_share } } }//end group group HeaderTemplates { Loading Loading @@ -2061,6 +2086,38 @@ module AtsImsIot_Templates { } } // template template AcceptContact mw_AcceptContact_share := { fieldName := ACCEPT_CONTACT_E, acValues := { { wildcard := "*", acRcParams := { { id := "Video Sharing Feature Tag", paramValue := "+g.3gpp.cs-voice" } } } } } template Contact mw_Contact_share := { fieldName := CONTACT_E, contactBody := { contactAddresses := { { addressField := ?, contactParams := { { id := "Video Sharing Feature Tag", paramValue := "+g.3gpp.cs-voice" } } } } } } } // end group HeaderTemplates Loading AtsImsIot/AtsImsIot_TestCases_RCS.ttcn +278 −12 File changed.Preview size limit exceeded, changes collapsed. Show changes Loading
AtsImsIot/AtsImsIot_Behavior.ttcn +96 −0 Original line number Diff line number Diff line Loading @@ -3542,6 +3542,102 @@ group checksTC_IMS_CHAT_0014 { }//end group checksTC_IMS_CHAT_0014 group checksTC_IMS_SHARE_0001 { /** * @desc Starts monitor component behavior * @param p_monitorCompRef Reference to monitor component */ function f_mtc_check_TP_IMS_CONTENT_SHARE_01_gm( ImsInterfaceMonitor p_monitorCompRef, boolean p_checkMessage ) runs on ImsTestCoordinator { p_monitorCompRef.start( f_imsIot_receive( {mw_SipRequest(mw_OPTIONS_Request_Base(?))}, {}, {0, omit}, "TP_IMS_CONTENT_SHARE_01", false, p_checkMessage ) ); p_monitorCompRef.done; } /** * @desc Starts monitor component behavior * @param p_monitorCompRef Reference to monitor component */ function f_mtc_check_TP_IMS_CONTENT_SHARE_01_ic( ImsInterfaceMonitor p_monitorCompRef, boolean p_checkMessage ) runs on ImsTestCoordinator { var charstring v_EUT_A_Addr := f_GetEUTScscfAddress(PX_EUT_A); p_monitorCompRef.start( f_imsIot_receive( {mw_SipRequest(mdw_TP_IMS_CONTENT_SHARE_01_ic(?))}, {}, {0, omit}, "TP_IMS_CONTENT_SHARE_01", false, p_checkMessage ) ); p_monitorCompRef.done; } //function*/ /** * @desc Starts monitor component behavior * @param p_monitorCompRef Reference to monitor component */ function f_mtc_check_TP_IMS_CONTENT_SHARE_02_gm( ImsInterfaceMonitor p_monitorCompRef, boolean p_checkMessage ) runs on ImsTestCoordinator { p_monitorCompRef.start( f_imsIot_receive( {mw_SipRequest(mw_INVITE_Request_Base)}, {}, {0, omit}, "TP_IMS_CONTENT_SHARE_02", false, p_checkMessage ) ); p_monitorCompRef.done; } /** * @desc Starts monitor component behavior * @param p_monitorCompRef Reference to monitor component */ function f_mtc_check_TP_IMS_CONTENT_SHARE_02_ic( ImsInterfaceMonitor p_monitorCompRef, boolean p_checkMessage ) runs on ImsTestCoordinator { var charstring v_EUT_A_Addr := f_GetEUTScscfAddress(PX_EUT_A); p_monitorCompRef.start( f_imsIot_receive( {mw_SipRequest(mdw_TP_IMS_CONTENT_SHARE_02_ic)}, {}, {0, omit}, "TP_IMS_CONTENT_SHARE_02", false, p_checkMessage ) ); p_monitorCompRef.done; } //function*/ }//end group checksTC_IMS_SHARE_0001 group messagingChecks { /** * @desc Starts monitor component behavior for TP_IMS_5097_05 Loading
AtsImsIot/AtsImsIot_Functions.ttcn +127 −0 Original line number Diff line number Diff line Loading @@ -178,6 +178,31 @@ module AtsImsIot_Functions { return v_status; } /** * @desc Trigger UE given by p_ueRef to initiate an MO call * @param p_ueRef Reference to IMS UE user component * @param p_calledParty ImsUserInfo of called party * @return * true in case of successfull execution of the trigger command * otherwise false */ function f_mtc_userSetupVoiceCall(EquipmentUser p_ueRefA, EquipmentUser p_ueRefB, ImsUserInfo p_calledPartyB) runs on TestCoordinator return boolean { var boolean v_success := false; f_mtc_userInitiateCall (p_ueRefA, p_calledPartyB); f_mtc_userCheckRinging(p_ueRefB); f_mtc_userCheckPeerIsRinging(p_ueRefA); f_mtc_userAnswerCall(p_ueRefB); f_mtc_userCheckCallEstablished(p_ueRefA); f_mtc_userCheckCallEstablished(p_ueRefB); if(f_getE2EVerdict() == pass) { v_success := true; } return v_success; } /** * * @desc Starts user component behaviour for checking that the User Loading Loading @@ -1359,6 +1384,108 @@ module AtsImsIot_Functions { return v_status; } /** * @desc Trigger UE given by p_ueRef to initiate sharing content * @param p_ueRef Reference to IMS UE user component * @param p_calledParty ImsUserInfo of called party * @return * true in case of successfull execution of the trigger command * otherwise false */ function f_mtc_userInitiateShare(EquipmentUser p_ueRef, ImsUserInfo p_calledParty) runs on TestCoordinator return boolean { var boolean v_status := true; // TODO //if( p_calledParty.publicId == "dummy" ) { return true; } //v_status := f_mtc_userInitiateCallSuccessful(p_ueRef); return v_status; } /** * @desc Trigger UE given by p_ueRef to check partner sharing capabilities * @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_userCheckPartnerSharingCapabilities(EquipmentUser p_userCompRef) runs on TestCoordinator return boolean { var boolean v_status := true; // TODO return v_status; } /** * @desc Trigger UE given by p_ueRef to request acceptance of sharing content * @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_userRequestedToAcceptSharing(EquipmentUser p_userCompRef) runs on TestCoordinator return boolean { var boolean v_status := true; // TODO return v_status; } /** * @desc Trigger UE given by p_ueRef to accept sharing content * @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_userAcceptsSharing(EquipmentUser p_userCompRef) runs on TestCoordinator return boolean { var boolean v_status := true; // TODO return v_status; } /** * @desc Trigger UE given by p_ueRef to check that user is informed that * request has been answered * @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_userCheckSharingRequestAnswered(EquipmentUser p_userCompRef) runs on TestCoordinator return boolean { var boolean v_status := true; // TODO return v_status; } /** * @desc Trigger UE given by p_ueRef to ends sharing content * @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_EndSharing(EquipmentUser p_userCompRef) runs on TestCoordinator return boolean { var boolean v_status := true; // TODO return v_status; } /** * @desc Trigger UE given by p_ueRef to check if content sharing ends * @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_userCheckSharingEnded(EquipmentUser p_userCompRef) runs on TestCoordinator return boolean { var boolean v_status := true; // TODO return v_status; } /** * @desc Trigger IMS Network to deregister UE given by p_ueRef Loading
AtsImsIot/AtsImsIot_Templates.ttcn +58 −1 Original line number Diff line number Diff line Loading @@ -1902,7 +1902,7 @@ module AtsImsIot_Templates { } /** * @desc VYE Request checking TP_IMS_5074_01 * @desc BYE Request checking TP_IMS_5074_01 */ template BYE_Request mdw_TP_IMS_5074_01_ic( template CallId p_callId, Loading Loading @@ -1973,6 +1973,31 @@ module AtsImsIot_Templates { } } /** * @desc OPTIONS Request checking TP_IMS_CONTENT_SHARE_01 */ template OPTIONS_Request mdw_TP_IMS_CONTENT_SHARE_01_ic( template CallId p_callId ) modifies mw_OPTIONS_Request_Base := { msgHeader := { acceptContact := mw_AcceptContact_share, contact := mw_Contact_share } } /** * @desc INVITE Request checking TP_IMS_CONTENT_SHARE_02 */ template INVITE_Request mdw_TP_IMS_CONTENT_SHARE_02_ic modifies mw_INVITE_Request_Base := { msgHeader := { acceptContact := mw_AcceptContact_share, contact := mw_Contact_share } } }//end group group HeaderTemplates { Loading Loading @@ -2061,6 +2086,38 @@ module AtsImsIot_Templates { } } // template template AcceptContact mw_AcceptContact_share := { fieldName := ACCEPT_CONTACT_E, acValues := { { wildcard := "*", acRcParams := { { id := "Video Sharing Feature Tag", paramValue := "+g.3gpp.cs-voice" } } } } } template Contact mw_Contact_share := { fieldName := CONTACT_E, contactBody := { contactAddresses := { { addressField := ?, contactParams := { { id := "Video Sharing Feature Tag", paramValue := "+g.3gpp.cs-voice" } } } } } } } // end group HeaderTemplates Loading
AtsImsIot/AtsImsIot_TestCases_RCS.ttcn +278 −12 File changed.Preview size limit exceeded, changes collapsed. Show changes