Commit 902d98b1 authored by pintar's avatar pintar
Browse files

Test case CHAT_0009-CHAT_0016

parent de762549
Loading
Loading
Loading
Loading
+28 −7
Original line number Diff line number Diff line
@@ -1732,14 +1732,21 @@ group checksTC_IMS_CALL_0007 {
		  */
    	function f_mtc_check_TP_IMS_5070_01_ic(
    		ImsInterfaceMonitor p_monitorCompRef,
    		boolean p_checkMessage
    		boolean p_checkMessage,
    		integer p_skipCount
    	) runs on ImsTestCoordinator {
	       
            var template SkipType v_skip := {0, omit};
	    	
            if(p_skipCount > 0) {
                v_skip := {p_skipCount, mw_SipRequest(mw_INVITE_Request_Base)};
            }
       
    		p_monitorCompRef.start(
    			f_imsIot_receive(
    			{mw_SipRequest(mw_INVITE_Request_Base)},
    			{},
    			{0, omit},
            	v_skip,
    			"TP_IMS_5070_01",
    			false,
    			p_checkMessage
@@ -1751,7 +1758,7 @@ group checksTC_IMS_CALL_0007 {
				f_imsIot_receive(
				{mw_SipResponse(mw_100Trying_Base)},
				{},
				{0, omit},
            	v_skip,
				"TP_IMS_5070_01",
				false,
				false
@@ -2885,14 +2892,21 @@ group checksTC_IMS_SS_0003 {
		  */
		function f_mtc_check_TP_IMS_5108_03_ic(
			ImsInterfaceMonitor p_monitorCompRef,
			boolean p_checkMessage
			boolean p_checkMessage,
    		integer p_skipCount
		) runs on ImsTestCoordinator  {
	       
            var template SkipType v_skip := {0, omit};
	    	
            if(p_skipCount > 0) {
                v_skip := {p_skipCount, mw_SipRequest(mw_INVITE_Request_Base)};
            }
			
			p_monitorCompRef.start(
			 f_imsIot_receive(
				{mw_SipRequest(mw_INVITE_Request_Base)},
				{},
				{0, omit},
            	v_skip,
				"TP_IMS_5108_03",
				false,
				p_checkMessage
@@ -2907,7 +2921,8 @@ group checksTC_IMS_SS_0003 {
    	*/
    	function f_mtc_check_TP_IMS_5108_03_isc(
    		ImsInterfaceMonitor p_monitorCompRef,
    		boolean p_checkMessage
    		boolean p_checkMessage,
    		integer p_skipCount
    	) runs on ImsTestCoordinator  {
			
			var template SipUrl v_AS_IMS_B := (mw_SipUrl_Host(f_GetEUTASServerAddress(PX_EUT_B)), 
@@ -2915,11 +2930,17 @@ group checksTC_IMS_SS_0003 {
			var template SipUrl v_SCSCF_IMS_B := (mw_SipUrl_Host(f_GetEUTScscfAddress(PX_EUT_B)), 
															mw_SipUrl_Host(f_GetEUTScscfIpAddress(PX_EUT_B)));
	       
            var template SkipType v_skip := {0, omit};
	    	
            if(p_skipCount > 0) {
                v_skip := {p_skipCount, mw_SipRequest(mw_INVITE_Request_Base)};
            }
    			
    		p_monitorCompRef.start(
    		 f_imsIot_receive(
    			{mw_SipRequest(mdw_TP_IMS_5108_03_isc(v_AS_IMS_B, v_SCSCF_IMS_B))},
    			{mw_SipRequest(mdw_TP_IMS_5108_03_f_isc)},
    			{0, omit},
            	v_skip,
    			"TP_IMS_5108_03",
    			false,
    			p_checkMessage
+169 −0
Original line number Diff line number Diff line
@@ -957,6 +957,175 @@ module AtsImsIot_Functions {
            return v_status;
        }

        /**
          * @desc Trigger UE given by p_ueRef to initiate chat conference 
          * @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_userInitiateChatConf(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 verify that user is informed 
           * 		of incoming chat conference invitation  
           * @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_userCheckChatConfInfo(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 user is informed
           * 		that invitation to chat conference session has reached  
           * @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_userCheckPeerChatConfInfo(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 user join to chat 
           * 		conference session   
           * @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_userJoinChatConf(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 users perform 
           * 		chating conference 
           * @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_userCheckChatingConf(EquipmentUser p_userCompRef1, EquipmentUser p_userCompRef2) 
            runs on TestCoordinator return boolean {
            var boolean v_status := true; 
            // TODO
            return v_status;
        }

        /**
           * @desc Trigger UE given by p_ueRef to verify that user leave to chat 
           * 		conference session   
           * @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_userLeaveChatConf(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 user is 
           * 		informed that conference chat session has ended  
           * @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_userCheckChatConfEnded(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 peer user leave chat 
           * 		conference session   
           * @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_userCheckPeerLeaveChatConf(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 user rejoin to chat 
           * 		conference session   
           * @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_userRejoinChatConf(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 verify that user is 
           * 		informed that conference chat session has rejoined  
           * @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_userCheckRejoinChatConfInfo(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 peer user rejoin chat 
           * 		conference session   
           * @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_userCheckPeerRejoinChatConfInfo(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
+1 −1
Original line number Diff line number Diff line
@@ -506,7 +506,7 @@ module AtsImsIot_TestCases_CALL {
		
        //checks 7,3 (INVITE from IMS_B to IMS_A and 100 Trying from IMS_A to IMS_B)
    	f_mtc_check_TP_IMS_5108_01_ic(v_ic, true); // Check7	
    	f_mtc_check_TP_IMS_5070_01_ic(v_ic, false); // Check3
    	f_mtc_check_TP_IMS_5070_01_ic(v_ic, false,0); // Check3

		// checks 5 (180 Ringing)
        f_mtc_check_TP_IMS_5055_01_gm(v_gmA, true); // Check 5
+570 −6

File changed.

Preview size limit exceeded, changes collapsed.

+11 −11
Original line number Diff line number Diff line
@@ -220,8 +220,8 @@ module AtsImsIot_TestCases_SS {
		//check 1,2 - INVITE
		f_mtc_check_TP_IMS_5097_02_gm(v_gmA, false);// Check1
		f_mtc_check_TP_IMS_5097_02_ic(v_ic, true);// Check1
		f_mtc_check_TP_IMS_5108_03_ic(v_ic, false);// Check2
		f_mtc_check_TP_IMS_5108_03_isc(v_iscB, false);// Check2
		f_mtc_check_TP_IMS_5108_03_ic(v_ic, false, 0);// Check2
		f_mtc_check_TP_IMS_5108_03_isc(v_iscB, false, 0);// Check2

		f_mtc_userCheckRinging(v_ueB);//Test Sequence Step 2
		f_mtc_userCheckPeerIsRinging(v_ueA);//Test Sequence Step 3
@@ -282,8 +282,8 @@ module AtsImsIot_TestCases_SS {
		//checks 1,2 - INVITE
		f_mtc_check_TP_IMS_5097_02_gm(v_gmA, false);// Check1
		f_mtc_check_TP_IMS_5097_02_ic(v_ic, true);// Check1
		f_mtc_check_TP_IMS_5108_03_ic(v_ic, false);// Check2
		f_mtc_check_TP_IMS_5108_03_isc(v_iscB, false);// Check2
		f_mtc_check_TP_IMS_5108_03_ic(v_ic, false, 0);// Check2
		f_mtc_check_TP_IMS_5108_03_isc(v_iscB, false, 0);// Check2

		f_mtc_userCheckRinging(v_ueB);//Test Sequence Step 2
		f_mtc_userCheckPeerIsRinging(v_ueA);//Test Sequence Step 3
@@ -343,8 +343,8 @@ module AtsImsIot_TestCases_SS {
		f_mtc_userInitiateCall (v_ueA, v_userInfoB);//Test Sequence Step 1

		//check 1 - INVITE
		f_mtc_check_TP_IMS_5108_03_ic(v_ic, false);// Check1
		f_mtc_check_TP_IMS_5108_03_isc(v_iscB, false);// Check1
		f_mtc_check_TP_IMS_5108_03_ic(v_ic, false, 0);// Check1
		f_mtc_check_TP_IMS_5108_03_isc(v_iscB, false, 0);// Check1
		
		//check 2 - 433 Anonymity Disallowe
		f_mtc_check_TP_IMS_5313_01_ic(v_ic, false);// Check2
@@ -452,8 +452,8 @@ module AtsImsIot_TestCases_SS {
        // checks 1,2 - INVITE
		f_mtc_check_TP_IMS_5097_01_gm(v_gmA, false); // Check1 
		f_mtc_check_TP_IMS_5097_01_ic(v_ic, true); // Check1 
		f_mtc_check_TP_IMS_5108_03_ic(v_ic, false); // Check2 
		f_mtc_check_TP_IMS_5108_03_isc(v_iscB, false); // Check2
		f_mtc_check_TP_IMS_5108_03_ic(v_ic, false, 0); // Check2 
		f_mtc_check_TP_IMS_5108_03_isc(v_iscB, false, 0); // Check2

   		//f_mtc_userCheckRinging(v_ueB2); //possible Test Sequence Step
		//f_mtc_userCheckPeerIsRinging(v_ueA); //possible Test Sequence Step
@@ -522,7 +522,7 @@ module AtsImsIot_TestCases_SS {
		f_mtc_check_TP_IMS_5067_01_gm(v_gmB, false); // Check2
		f_mtc_check_TP_IMS_5046_01_ic(v_ic, true); // Check1
		f_mtc_check_TP_IMS_5067_01_ic(v_ic, true); // Check2
		f_mtc_check_TP_IMS_5070_01_ic(v_ic, false); // Check3
		f_mtc_check_TP_IMS_5070_01_ic(v_ic, false,0); // Check3

   		//f_mtc_userCheckRinging(v_ueA2); //possible Test Sequence Step
		//f_mtc_userCheckPeerIsRinging(v_ueA); //possible Test Sequence Step
@@ -586,8 +586,8 @@ module AtsImsIot_TestCases_SS {
        // checks 1,2 - INVITE
		f_mtc_check_TP_IMS_5097_01_gm(v_gmA, false); // Check1 
		f_mtc_check_TP_IMS_5097_01_ic(v_ic, true); // Check1 
		f_mtc_check_TP_IMS_5108_03_ic(v_ic, false); // Check2 
		f_mtc_check_TP_IMS_5108_03_isc(v_iscB, false); // Check2
		f_mtc_check_TP_IMS_5108_03_ic(v_ic, false, 0); // Check2 
		f_mtc_check_TP_IMS_5108_03_isc(v_iscB, false, 0); // Check2

   		f_mtc_userCheckRinging(v_ueB); //possible Test Sequence Step
		f_mtc_userCheckPeerIsRinging(v_ueA); //possible Test Sequence Step