Commit 0a6ce4f3 authored by garciay's avatar garciay
Browse files

Add support of subscribtion to conference event package

parent 701416ab
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -759,6 +759,21 @@ module AtsImsIot_Functions {
            return v_status;
        }

        /**
           * @desc Trigger UE given by p_ueRef to subscribes to conference event package 
           * to retrieve the list of the participants of the 1-to-many chat
           * @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_userSubscribeToConferenceEventPackage(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 verify that originating user 
           * 		receives an authorization request from peer user to see 
+71 −60
Original line number Diff line number Diff line
@@ -1190,20 +1190,22 @@ module AtsImsIot_TestCases_RCS {
        f_mtc_check_TP_IMS_5107_02_gm(v_gmB, false); // Step 59
        
        // UE_A subscrbes to the conference event package
        
        // FIXME How to subscrbes to the conference event package??? Check with Bostjan
        f_mtc_check_TP_IMS_5107_01_gm(v_gmA, false); // Step 63
        
        // UE_B subscrbes to the conference event package
        
        // Check5 ueA receives NOTIFY
        f_mtc_check_notify_mx(v_gmA); // Step 65
        
        // FIXME How to subscrbes to the conference event package??? Check with Bostjan
        f_mtc_check_TP_IMS_5107_01_gm(v_gmB, false); // Step 82
        
        // Check6 ueB receives NOTIFY
        f_mtc_check_notify_mx(v_gmB); // Step 86
        f_mtc_userSubscribeToConferenceEventPackage(v_ueA); // Step 60
        // check - SUBSCRIBE
        f_mtc_check_TP_IMS_5108_07_gm(v_gmA, false); // Step 60
        // SUBSCRIBE - 200 OK
        f_mtc_check_response_mx(v_mxA, c_statusLine200); // Step 63
        // check - NOTIFY
        f_mtc_check_TP_IMS_5094_01_UE(v_gmA, v_userInfoA, false); // Step 65
        
        // UE_B subscribes to the conference event package
        f_mtc_userSubscribeToConferenceEventPackage(v_ueB); // Step 69
        // check - SUBSCRIBE
        f_mtc_check_TP_IMS_5108_07_gm(v_gmB, false); // Step 69
        // SUBSCRIBE - 200 OK
        f_mtc_check_response_mx(v_mxB, c_statusLine200); // Step 82
        // check6 - NOTIFY
        f_mtc_check_TP_IMS_5094_01_UE(v_gmB, v_userInfoB, false); // Step 89
        
        f_mtc_userCheckPeerChatInfoOneToMany(v_ueA); //Test Sequence Step 10
        f_mtc_userCheckPeerChatInfoOneToMany(v_ueB); //Test Sequence Step 11
@@ -1352,27 +1354,28 @@ module AtsImsIot_TestCases_RCS {
        f_mtc_userCheckChatingConf(v_ueA, v_ueB); // Check 3-4
        f_mtc_check_TP_MSRP_9000_01(v_gmB, false); // Step 28
        
        f_mtc_EndChat(v_ueB); // Step 43
        f_mtc_check_TP_IMS_5107_01_gm(v_gmB, false); // Check send bye on gmB - Step 43A
        
        // checks 200 OK
        f_mtc_check_TP_IMS_5107_02_gm(v_gmB, false); // Step 59
        
        // UE_A subscrbes to the conference event package
        
        // FIXME How to subscrbes to the conference event package??? Check with Bostjan
        f_mtc_check_TP_IMS_5107_01_gm(v_gmA, false); // Step 63
        f_mtc_EndChat(v_ueA); // Step 54
        f_mtc_check_TP_IMS_5107_01_gm(v_gmA, false); // Check send bye on gmA - Step 54
        f_mtc_check_TP_IMS_5107_01_gm(v_gmB, false); // Check send bye on gmB - Step 65
        f_mtc_check_response_mx(v_gmA, c_statusLine200); // Step 77
        
        // UE_B subscrbes to the conference event package
        
        // Check5 ueA receives NOTIFY
        f_mtc_check_notify_mx(v_gmA); // Step 65
        
        // FIXME How to subscrbes to the conference event package??? Check with Bostjan
        f_mtc_check_TP_IMS_5107_01_gm(v_gmB, false); // Step 82
        
        // Check6 ueB receives NOTIFY
        f_mtc_check_notify_mx(v_gmB); // Step 86
        f_mtc_userSubscribeToConferenceEventPackage(v_ueB); // Step 78
        // check - SUBSCRIBE
        f_mtc_check_TP_IMS_5108_07_gm(v_gmB, false); // Step 78
        // SUBSCRIBE - 200 OK
        f_mtc_check_response_mx(v_gmB, c_statusLine200); // Step 87
        // check - NOTIFY
        f_mtc_check_TP_IMS_5094_01_UE(v_gmA, v_userInfoA, false); // Step 92
        
        // UE_A subscribes to the conference event package
        f_mtc_userSubscribeToConferenceEventPackage(v_ueA); // Step 99
        // check - SUBSCRIBE
        f_mtc_check_TP_IMS_5108_07_gm(v_gmA, false); // Step 99
        // SUBSCRIBE - 200 OK
        f_mtc_check_response_mx(v_gmA, c_statusLine200); // Step 112
        // check6 - NOTIFY
        f_mtc_check_TP_IMS_5094_01_UE(v_gmA, v_userInfoB, false); // Step 119
        
        f_mtc_userCheckPeerChatInfoOneToMany(v_ueA); //Test Sequence Step 10
        f_mtc_userCheckPeerChatInfoOneToMany(v_ueB); //Test Sequence Step 11
@@ -2204,19 +2207,23 @@ module AtsImsIot_TestCases_RCS {
        f_mtc_userCheckChatingConf(v_ueA, v_ueB); // Check 2-3
        f_mtc_check_TP_MSRP_9000_01(v_gmB, false); // Step27
        
        // UE_A subscrbes to the conference event package - Step41
        
        // FIXME How to subscrbes to the conference event package??? Check with Bostjan
        
        // Check4 ueA receives NOTIFY
        f_mtc_check_notify_mx(v_gmA); // Check 4 - Step 46
        
        // UE_B subscrbes to the conference event package - Step50
        
        // FIXME How to subscrbes to the conference event package??? Check with Bostjan
        
        // Check5 ueB receives NOTIFY
        f_mtc_check_notify_mx(v_gmB); // Step 70
        // UE_A subscrbes to the conference event package
        f_mtc_userSubscribeToConferenceEventPackage(v_ueA); // Step 41
        // check - SUBSCRIBE
        f_mtc_check_TP_IMS_5108_07_gm(v_gmA, false); // Step 41
        // SUBSCRIBE - 200 OK
        f_mtc_check_response_mx(v_mxA, c_statusLine200); // Step 44
        // check4 - NOTIFY
        f_mtc_check_TP_IMS_5094_01_UE(v_gmA, v_userInfoA, false); // Step 46
        
        // UE_B subscribes to the conference event package
        f_mtc_userSubscribeToConferenceEventPackage(v_ueB); // Step 50
        // check - SUBSCRIBE
        f_mtc_check_TP_IMS_5108_07_gm(v_gmB, false); // Step 50
        // SUBSCRIBE - 200 OK
        f_mtc_check_response_mx(v_mxB, c_statusLine200); // Step 63
        // check5 - NOTIFY
        f_mtc_check_TP_IMS_5094_01_UE(v_gmB, v_userInfoB, false); // Step 70
        
        // Check6-7
        f_mtc_userCheckPeerChatInfoOneToMany(v_ueA); 
@@ -2228,7 +2235,7 @@ module AtsImsIot_TestCases_RCS {
        f_mtc_userCheckChatEnded(v_ueB);
        
        // Check6 ueA receives NOTIFY
        f_mtc_check_notify_mx(v_gmA); // Step 98A
        f_mtc_check_TP_IMS_5094_01_UE(v_gmA, v_userInfoA, false); // Step 98A
        
        f_mtc_EndChat(v_ueA); // Step 101A
        f_mtc_check_TP_IMS_5107_01_gm(v_gmA, false); // Check send bye on gmB - Step 102A
@@ -2398,19 +2405,23 @@ module AtsImsIot_TestCases_RCS {
        f_mtc_userCheckChatingConf(v_ueA, v_ueB); // Check 2-3
        f_mtc_check_TP_MSRP_9000_01(v_gmB, false); // Step27
        
        // UE_A subscrbes to the conference event package - Step41
        
        // FIXME How to subscrbes to the conference event package??? Check with Bostjan
        
        // Check4 ueA receives NOTIFY
        f_mtc_check_notify_mx(v_gmA); // Check 4 - Step 46
        
        // UE_B subscrbes to the conference event package - Step50
        
        // FIXME How to subscrbes to the conference event package??? Check with Bostjan
        
        // Check5 ueB receives NOTIFY
        f_mtc_check_notify_mx(v_gmB); // Step 70
        // UE_B subscrbes to the conference event package
        f_mtc_userSubscribeToConferenceEventPackage(v_ueB); // Step 53
        // check - SUBSCRIBE
        f_mtc_check_TP_IMS_5108_07_gm(v_gmB, false); // Step 53
        // SUBSCRIBE - 200 OK
        f_mtc_check_response_mx(v_mxB, c_statusLine200); // Step 62
        // check4 - NOTIFY
        f_mtc_check_TP_IMS_5094_01_UE(v_gmB, v_userInfoB, false); // Step 67
        
        // UE_A subscribes to the conference event package
        f_mtc_userSubscribeToConferenceEventPackage(v_ueB); // Step 74
        // check - SUBSCRIBE
        f_mtc_check_TP_IMS_5108_07_gm(v_gmB, false); // Step 74
        // SUBSCRIBE - 200 OK
        f_mtc_check_response_mx(v_mxB, c_statusLine200); // Step 87
        // check6 - NOTIFY
        f_mtc_check_TP_IMS_5094_01_UE(v_gmB, v_userInfoB, false); // Step 94
        
        // Check6-7
        f_mtc_userCheckPeerChatInfoOneToMany(v_ueA);