Commit 7fa38de5 authored by garciay's avatar garciay
Browse files

No commit message

No commit message
parent 90cba40d
Loading
Loading
Loading
Loading
+47 −0
Original line number Original line Diff line number Diff line
/**
 * @author      ETSI/STF498
 * @version     $Url$
 *              $Id$
 * @dec         Testcontrol module for INT GTPv2-C protocol
 */
module AtsGtpv2C_TestControl { 
    
    // ATS GTPv2-C
    import from AtsGtpv2C_TestCases all;
    
    // LibGtpv2C
    import from LibGtpv2C_Pics all;
    
    // Test Execution
    control {
        
        /* IUT is MME */
        if (PICS_S11_IUT_IS_MME) {
            /* Path management */
            if (PICS_ECHO_REQUEST and PICS_ECHO_REPLY) {
                execute(TC_S11_MME_PM_01());
                execute(TC_S11_MME_PM_02());
            }
            if (PICS_VERSION_NOT_SUPPORTED) {
                execute(TC_S11_MME_PM_03());
            }
            /* Tunnel management */
        }
        
        /* IUT is S-GW */
        if (PICS_S11_IUT_IS_SGW) {
            /* Path management */
            if (PICS_ECHO_REQUEST and PICS_ECHO_REPLY) {
                execute(TC_S11_SGW_PM_01());
                execute(TC_S11_SGW_PM_02());
                execute(TC_S11_SGW_PM_03());
            }
            if (PICS_VERSION_NOT_SUPPORTED) {
                execute(TC_S11_SGW_PM_03());
            }
            /* Tunnel management */
        }
        
    } // End of 'control' statement
    
} // End of module AtsGtpv2C_TestControl 
 No newline at end of file