Commit 2b9cf8bc authored by Yann Garcia's avatar Yann Garcia
Browse files

Create skeleton for TD

parent f8fe731f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -113,7 +113,7 @@ module AtsIms5gIot_Functions {
        function f_getHttpMsgFromMonitor(
                                        InterfaceMonitor p_monitor,
                                        out HttpMessage p_msg
                                        ) runs on HttpInterfaceMonitor {
                                        ) runs on FiveGNRTestCoordinator {
            timer t_local := PX_MAX_MSG_WAIT;
            t_local.start;            
            alt {
@@ -268,7 +268,7 @@ module AtsIms5gIot_Functions {
        function f_getNgapMsgFromMonitor(
                                         InterfaceMonitor p_monitor,
                                         out NGAP_PDU p_msg
                                         ) runs on NgapInterfaceMonitor {
                                         ) runs on FiveGNRTestCoordinator {
            timer t_local := PX_MAX_MSG_WAIT;
            t_local.start;            
            alt {
+0 −41
Original line number Diff line number Diff line
module AtsIms5gIot_TD_REG {

    // LibCommon
    // LibSip
    // LibIms
    import from LibIms_UpperTester all;
    // LibIot
    import from LibIot_TestInterface all;
    import from LibIot_TestConfiguration all;
    import from LibIot_PIXITS all;
    import from LibIot_VxLTE_PIXITS all;
    import from LibIot_VxLTE_Functions all;
    // LibImsIot
    import from AtsImsIot_Functions all;
    // ImsIot
    import from AtsImsIot_TestConfiguration all; 
    import from AtsImsIot_TestSystem all; 
    import from AtsImsIot_Functions all; 
    // Ims5gIot
    import from AtsIms5gIot_TestConfiguration all; 
    import from AtsIms5gIot_TestSystem all; 
    import from AtsIms5gIot_Functions all; 
    import from AtsImsIot_TP_behavior_N5_PCF all;
     
    group Interoperability{

        group IMSRegistration {
            
            testcase TC_VoNR_xxx() runs on FiveGNRTestCoordinator system FiveGNRIotSystemInterface {
                
                var IotEquipmentUser v_ueA    := f_cf_create_IotEquipmentUser ( c_userUE_A );
                var ImsUserInfo v_userInfoA   := f_getSipUserId ( PX_EUT_A );


            }

         } //End of group IMSRegistration    

    } // End of group Interoperability

} // End of module AtsIms5gIot_TD_REG
+46 −0
Original line number Diff line number Diff line
@@ -9,6 +9,23 @@

module AtsIms5gIot_TestConfiguration {

    import from LibCommon_VerdictControl all;
    /*language "TTCN-3:2008 Amendment 1" - FSCOM/YGA*/
    import from LibIms_UpperTester all;
    import from LibIot_PIXITS all;
    import from LibIot_TypesAndValues all;
    /*language "TTCN-3:2008 Amendment 1" - FSCOM/YGA*/

    import from LibIot_Functions all;
    import from LibIot_TestConfiguration all;
    import from LibIot_TestInterface all;

    import from AtsIms5gIot_TestSystem all;
    import from AtsIms5gIot_Templates all;
    import from AtsIms5gIot_Functions all;
    
    import from AtsImsIot_Functions all;

    group constantDefinitions {
        //* interface monitor name N1 / N2
        const charstring c_n1n2 := "N1N2";
@@ -16,4 +33,33 @@ module AtsIms5gIot_TestConfiguration {
        const charstring c_n5 := "N5";
    }
    
    group componentCreation {
    
        /**
        * @desc     creates a monitor component 
        * @param     p_name    name of the monitor component 
        * @return             the created monitor component
        */    
        function f_cf_create_monitor_ngap(in MonitorInterfaceInfo p_mii) runs on FiveGNRTestCoordinator return NgapInterfaceMonitor {
            var NgapInterfaceMonitor v_monitor := NgapInterfaceMonitor.create(p_mii.interfaceName) alive;
            //v_monitor.start(f_setInterfaceNameOnComponent(p_mii.interfaceName));
            v_monitor.start(f_setInterfaceInfoComponent(p_mii));
            v_monitor.done;                 
            return v_monitor; 
        }

        /**
        * @desc     creates a monitor component 
        * @param     p_name    name of the monitor component 
        * @return             the created monitor component
        */    
        function f_cf_create_monitor_http(in MonitorInterfaceInfo p_mii) runs on FiveGNRTestCoordinator return HttpInterfaceMonitor {
            var HttpInterfaceMonitor v_monitor := HttpInterfaceMonitor.create(p_mii.interfaceName) alive;
            //v_monitor.start(f_setInterfaceNameOnComponent(p_mii.interfaceName));
            v_monitor.start(f_setInterfaceInfoComponent(p_mii));
            v_monitor.done;                 
            return v_monitor; 
        }

    } // End of group componentCreation
}
 No newline at end of file
+1 −1
Original line number Diff line number Diff line
@@ -91,7 +91,7 @@ module AtsIms5gIot_TestSystem {
            DiameterInterfaceMonitor s6a  optional,
            DiameterInterfaceMonitor s9   optional,
            DiameterInterfaceMonitor sh   optional ,
            HttpInterfaceMonitor http     optional,
            HttpInterfaceMonitor n5       optional,
            NgapInterfaceMonitor ngap     optional
        }
    } // end of g_release16
+2 −2
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ module AtsIms5gIot_TypesAndValues {
    group HttpMessageTypes {

        /**
        * @desc SIP Message List Type
        * @desc HTTP Message List Type
        */
        type record of HttpMessage HttpMessageList;
        type record HttpSkipType {
@@ -28,7 +28,7 @@ module AtsIms5gIot_TypesAndValues {
    group NgapMessageTypes {

        /**
        * @desc SIP Message List Type
        * @desc NGAP Message List Type
        */
        type record of NGAP_PDU NGAP_PDUs;
        type record NgapSkipType {
Loading