NGAP_TestCases.ttcn 1.72 KB
Newer Older
Yann Garcia's avatar
Yann Garcia committed
/**
 *    @author   ETSI / STF519
 *    @version  $URL$
 *              $Id$
 *    @desc     This module provides test cases for NGAP tests.
 *    @copyright   ETSI Copyright Notification
 *                 No part may be reproduced except as authorized by written permission.
 *                 The copyright and the foregoing restriction extend to reproduction in all media.
 *                 All rights reserved.
 *    @see      ETSI TS 136 413 / 3GPP TS 36.413 version 13.4.0 Release 13
 */
module NGAP_TestCases {
    
    // LibCommon
    import from LibCommon_Sync all ;
    
    // NGAP_Ats
    import from LibNGAP_TypesAndValues all;
    import from NGAP_TestConfiguration all;
    import from NGAP_TestSystem all;
    import from NGAP_TCFunctions all;
    import from NGAP_Pics all;

    type component MTC{
    var integer dummy;
   }; 

            testcase TC_NGAP_gNB_SetupRequest_01() runs on NGAP system TestAdapter { 

                // Local variables
                var NGAP v_ngap_gnb; 
                
                // Test control
                if (not PICS_NGAP_AMF_IUT) {
                    log("*** " & __SCOPE__ & ": ERROR: 'PICS_NGAP_aMF_IUT' shall be set to true for executing the TC. ***"); 
                    stop;
                }
                
                // Test component configuration
                f_cf_NGAP_gNB_Up(v_ngap_gnb);
                
                // Start
                v_ngap_gnb.start(f_TC_NGAP_gNB_SetupRequest_01()); 
                
                // synchronize PTC on 1 sychronization points
                f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
                
                f_cf_Down();

            } // End of testcase TC_NGAP_gNB_SetupRequest_01
}