Commit 0221ac62 authored by juvancic's avatar juvancic
Browse files

test configuration + init

parent 13ffcba3
Loading
Loading
Loading
Loading
+31 −30
Original line number Original line Diff line number Diff line
@@ -5,7 +5,7 @@
 */
 */
module AtsImsIot_Behavior {
module AtsImsIot_Behavior {
	
	
	import from AtsImsIot_TestSystem { type ImsInterfaceMonitor, ImsTestCoordinator; }
	import from AtsImsIot_TestSystem { type ImsInterfaceMonitor, ImsTestCoordinator,SipInterfaceMonitor, DiameterInterfaceMonitor; }
	import from LibIot_PIXITS {modulepar PX_MAX_MSG_WAIT;}
	import from LibIot_PIXITS {modulepar PX_MAX_MSG_WAIT;}
	import from AtsImsIot_Templates {template all;}
	import from AtsImsIot_Templates {template all;}
	import from AtsImsIot_TypesAndValues { type SipMessage, SipMessageList, NAPTRmessage, EnumResponse, EnumQuery, SkipType; }
	import from AtsImsIot_TypesAndValues { type SipMessage, SipMessageList, NAPTRmessage, EnumResponse, EnumQuery, SkipType; }
@@ -3949,7 +3949,7 @@ group checksTC_IMS_SHARE_0009 {
			  * @param p_monitorCompRef Reference to monitor component
			  * @param p_monitorCompRef Reference to monitor component
			  */
			  */
			 function f_mtc_check_TP_S6A_MME_ULR_01(
			 function f_mtc_check_TP_S6A_MME_ULR_01(
				 ImsInterfaceMonitor p_monitorCompRef,
				 /*ImsInterfaceMonitor*/DiameterInterfaceMonitor p_monitorCompRef,
				 boolean p_checkMessage
				 boolean p_checkMessage
			 ) runs on ImsTestCoordinator {
			 ) runs on ImsTestCoordinator {
			 	
			 	
@@ -3974,7 +3974,7 @@ group checksTC_IMS_SHARE_0009 {
			  * @param p_monitorCompRef Reference to monitor component
			  * @param p_monitorCompRef Reference to monitor component
			  */
			  */
			 function f_mtc_check_TP_S6A_HSS_ULA_01(
			 function f_mtc_check_TP_S6A_HSS_ULA_01(
				 ImsInterfaceMonitor p_monitorCompRef,
				 /*ImsInterfaceMonitor*/DiameterInterfaceMonitor p_monitorCompRef,
				 boolean p_checkMessage
				 boolean p_checkMessage
			 ) runs on ImsTestCoordinator  {    
			 ) runs on ImsTestCoordinator  {    


@@ -3997,7 +3997,7 @@ group checksTC_IMS_SHARE_0009 {
			 * @param p_monitorCompRef Reference to monitor component
			 * @param p_monitorCompRef Reference to monitor component
			 */
			 */
			function f_mtc_check_TP_GX_PCRF_CCA_01(
			function f_mtc_check_TP_GX_PCRF_CCA_01(
				ImsInterfaceMonitor p_monitorCompRef,
				/*ImsInterfaceMonitor*/DiameterInterfaceMonitor p_monitorCompRef,
				boolean p_checkMessage
				boolean p_checkMessage
			) runs on ImsTestCoordinator  {    
			) runs on ImsTestCoordinator  {    


@@ -5496,7 +5496,7 @@ group checksTC_IMS_SHARE_0009 {
         * @see TS 103 029 V3.1.1 clause 7.1.2
         * @see TS 103 029 V3.1.1 clause 7.1.2
         */
         */
        function f_mtc_check_TP_EPC_6005_01(
        function f_mtc_check_TP_EPC_6005_01(
            ImsInterfaceMonitor p_monitorCompRef
		    /*ImsInterfaceMonitor*/DiameterInterfaceMonitor p_monitorCompRef
        ) runs on ImsTestCoordinator {
        ) runs on ImsTestCoordinator {
            p_monitorCompRef.start (
            p_monitorCompRef.start (
				f_receiveDiameterMsg ( { aSR_MSG := mw_ASR_dummy } , "TP_EPC_6005_01", true )
				f_receiveDiameterMsg ( { aSR_MSG := mw_ASR_dummy } , "TP_EPC_6005_01", true )
@@ -5529,7 +5529,7 @@ group checksTC_IMS_SHARE_0009 {
         * @see TS 103 029 V3.1.1 clause 7.1.2
         * @see TS 103 029 V3.1.1 clause 7.1.2
         */
         */
        function f_mtc_check_TP_EPC_6006_01(
        function f_mtc_check_TP_EPC_6006_01(
            ImsInterfaceMonitor p_monitorCompRef
		    /*ImsInterfaceMonitor*/DiameterInterfaceMonitor p_monitorCompRef
        ) runs on ImsTestCoordinator {
        ) runs on ImsTestCoordinator {
            f_mtc_check_TP_EPC_6006_02 ( p_monitorCompRef );
            f_mtc_check_TP_EPC_6006_02 ( p_monitorCompRef );
            f_mtc_check_TP_EPC_6009_01 ( p_monitorCompRef );
            f_mtc_check_TP_EPC_6009_01 ( p_monitorCompRef );
@@ -5560,7 +5560,7 @@ group checksTC_IMS_SHARE_0009 {
         * @see TS 103 029 V3.1.1 clause 7.1.2
         * @see TS 103 029 V3.1.1 clause 7.1.2
         */
         */
        function f_mtc_check_TP_EPC_6006_02(
        function f_mtc_check_TP_EPC_6006_02(
            ImsInterfaceMonitor p_monitorCompRef
		    /*ImsInterfaceMonitor*/DiameterInterfaceMonitor p_monitorCompRef
        ) runs on ImsTestCoordinator {
        ) runs on ImsTestCoordinator {
            p_monitorCompRef.start (
            p_monitorCompRef.start (
                f_receiveDiameterMsg ( { aSA_MSG := mw_ASA_dummy } , "TP_EPC_6006_02", true )
                f_receiveDiameterMsg ( { aSA_MSG := mw_ASA_dummy } , "TP_EPC_6006_02", true )
@@ -5590,7 +5590,7 @@ group checksTC_IMS_SHARE_0009 {
         * @see TS 103 029 V3.1.1 clause 7.1.2
         * @see TS 103 029 V3.1.1 clause 7.1.2
         */
         */
        function f_mtc_check_TP_EPC_6009_01(
        function f_mtc_check_TP_EPC_6009_01(
            ImsInterfaceMonitor p_monitorCompRef
		    /*ImsInterfaceMonitor*/DiameterInterfaceMonitor p_monitorCompRef
        ) runs on ImsTestCoordinator {
        ) runs on ImsTestCoordinator {
            p_monitorCompRef.start (
            p_monitorCompRef.start (
                f_receiveDiameterMsg ( { sTA_MSG := mw_STA_dummy } , "TP_EPC_6009_01", true )
                f_receiveDiameterMsg ( { sTA_MSG := mw_STA_dummy } , "TP_EPC_6009_01", true )
@@ -5696,21 +5696,22 @@ group checksTC_IMS_SHARE_0009 {
            p_monitorCompRef.done;
            p_monitorCompRef.done;
        } // End of function f_mtc_check_TP_EPC_6012_01
        } // End of function f_mtc_check_TP_EPC_6012_01


         /**
//TODO: function commented out due to removal of TPs after refactoring/restructuring
         * Starts monitor component behavior for TP_EPC_6012_02
//         /**
         * @param p_monitorCompRef Reference to monitor component
//         * Starts monitor component behavior for TP_EPC_6012_02
         * @param p_checkMessage indicate if the incomming message should only be checked (port.check) or consumed (port.receive). 
//         * @param p_monitorCompRef Reference to monitor component
         * The check operation allows read access to the top element of incoming port queues without removing the top element from the queue.
//         * @param p_checkMessage indicate if the incomming message should only be checked (port.check) or consumed (port.receive). 
         */
//         * The check operation allows read access to the top element of incoming port queues without removing the top element from the queue.
        function f_mtc_check_TP_EPC_6012_02(
//         */
        	ImsInterfaceMonitor p_monitorCompRef,
//        function f_mtc_check_TP_EPC_6012_02(
            ImsInterfaceMonitor p_monitorCompRef_B
//		    ImsInterfaceMonitor p_monitorCompRef,
        ) runs on ImsTestCoordinator {
//		    ImsInterfaceMonitor p_monitorCompRef_B
            f_mtc_check_TP_EPC_6012_01 ( p_monitorCompRef, false );
//        ) runs on ImsTestCoordinator {
            f_mtc_check_TP_EPC_6022_01 ( p_monitorCompRef );
//            f_mtc_check_TP_EPC_6012_01 ( p_monitorCompRef, false );
            f_mtc_check_TP_EPC_6009_01 ( p_monitorCompRef );
//            f_mtc_check_TP_EPC_6022_01 ( p_monitorCompRef );
        } // End of function f_mtc_check_TP_EPC_6012_02
//            f_mtc_check_TP_EPC_6009_01 ( p_monitorCompRef );
        
//        } // End of function f_mtc_check_TP_EPC_6012_02
//        
        /**
        /**
         * Starts monitor component behavior for TP_EPC_6013_01
         * Starts monitor component behavior for TP_EPC_6013_01
         * @param p_monitorCompRef Reference to monitor component
         * @param p_monitorCompRef Reference to monitor component
@@ -5744,7 +5745,7 @@ group checksTC_IMS_SHARE_0009 {
         * @see TS 103 029 V3.1.1 clause 7.2.1.1
         * @see TS 103 029 V3.1.1 clause 7.2.1.1
         */
         */
        function f_mtc_check_TP_EPC_6013_01(
        function f_mtc_check_TP_EPC_6013_01(
            ImsInterfaceMonitor p_monitorCompRef
		    /*ImsInterfaceMonitor*/DiameterInterfaceMonitor p_monitorCompRef
        ) runs on ImsTestCoordinator {
        ) runs on ImsTestCoordinator {
            p_monitorCompRef.start (
            p_monitorCompRef.start (
                f_receiveDiameterMsg ( { aAR_MSG := mw_AAR_dummy } , "TP_EPC_6013_01", true )
                f_receiveDiameterMsg ( { aAR_MSG := mw_AAR_dummy } , "TP_EPC_6013_01", true )
@@ -5759,7 +5760,7 @@ group checksTC_IMS_SHARE_0009 {
         * The check operation allows read access to the top element of incoming port queues without removing the top element from the queue.
         * The check operation allows read access to the top element of incoming port queues without removing the top element from the queue.
         */
         */
        function f_mtc_check_TP_EPC_6014_01(
        function f_mtc_check_TP_EPC_6014_01(
            ImsInterfaceMonitor p_monitorCompRef
		    /*ImsInterfaceMonitor*/DiameterInterfaceMonitor p_monitorCompRef
        ) runs on ImsTestCoordinator {
        ) runs on ImsTestCoordinator {
            p_monitorCompRef.start (
            p_monitorCompRef.start (
                f_receiveDiameterMsg ( { aAA_MSG := mw_AAA_dummy } , "TP_EPC_6014_01", true )
                f_receiveDiameterMsg ( { aAA_MSG := mw_AAA_dummy } , "TP_EPC_6014_01", true )
@@ -5821,7 +5822,7 @@ group checksTC_IMS_SHARE_0009 {
        function f_mtc_check_TP_EPC_6017_01(
        function f_mtc_check_TP_EPC_6017_01(
            ImsInterfaceMonitor p_monitorCompRef,
            ImsInterfaceMonitor p_monitorCompRef,
            boolean p_checkMessage,
            boolean p_checkMessage,
            ImsInterfaceMonitor p_monitorCompRef_B
		    /*ImsInterfaceMonitor*/DiameterInterfaceMonitor p_monitorCompRef_B
        ) runs on ImsTestCoordinator {
        ) runs on ImsTestCoordinator {
            f_mtc_check_TP_EPC_6018_01 ( p_monitorCompRef, p_checkMessage );
            f_mtc_check_TP_EPC_6018_01 ( p_monitorCompRef, p_checkMessage );
            f_mtc_check_TP_EPC_6022_01 ( p_monitorCompRef_B );
            f_mtc_check_TP_EPC_6022_01 ( p_monitorCompRef_B );
@@ -5869,7 +5870,7 @@ group checksTC_IMS_SHARE_0009 {
        * The check operation allows read access to the top element of incoming port queues without removing the top element from the queue.
        * The check operation allows read access to the top element of incoming port queues without removing the top element from the queue.
        */
        */
       function f_mtc_check_TP_EPC_6022_01(
       function f_mtc_check_TP_EPC_6022_01(
           ImsInterfaceMonitor p_monitorCompRef
	       /*ImsInterfaceMonitor*/DiameterInterfaceMonitor p_monitorCompRef
       ) runs on ImsTestCoordinator {
       ) runs on ImsTestCoordinator {
           p_monitorCompRef.start (
           p_monitorCompRef.start (
               f_receiveDiameterMsg ( { sTR_MSG := mw_STR_dummy } , "TP_EPC_6022_01", true )
               f_receiveDiameterMsg ( { sTR_MSG := mw_STR_dummy } , "TP_EPC_6022_01", true )
@@ -5905,7 +5906,7 @@ group checksTC_IMS_SHARE_0009 {
         * The check operation allows read access to the top element of incoming port queues without removing the top element from the queue.
         * The check operation allows read access to the top element of incoming port queues without removing the top element from the queue.
         */
         */
        function f_mtc_check_TP_EPC_6026_01(
        function f_mtc_check_TP_EPC_6026_01(
            ImsInterfaceMonitor p_monitorCompRef,
		    /*ImsInterfaceMonitor*/DiameterInterfaceMonitor p_monitorCompRef,
        	IotEquipmentUser p_ue
        	IotEquipmentUser p_ue
        ) runs on ImsTestCoordinator {
        ) runs on ImsTestCoordinator {
           f_mtc_triggerUserCommand ( p_ue, "Trigger registration expiration for UE A");
           f_mtc_triggerUserCommand ( p_ue, "Trigger registration expiration for UE A");
@@ -5966,7 +5967,7 @@ group checksTC_IMS_SHARE_0009 {
         */
         */
        function f_mtc_check_TP_EPC_6033_01(
        function f_mtc_check_TP_EPC_6033_01(
            ImsInterfaceMonitor p_monitorCompRef_A,
            ImsInterfaceMonitor p_monitorCompRef_A,
            ImsInterfaceMonitor p_monitorCompRef_B
		    /*ImsInterfaceMonitor*/DiameterInterfaceMonitor p_monitorCompRef_B
        ) runs on ImsTestCoordinator {
        ) runs on ImsTestCoordinator {
           p_monitorCompRef_A.start(
           p_monitorCompRef_A.start(
            f_imsIot_receive(
            f_imsIot_receive(