Loading ttcn/Ats_NG_NAS/NG_NAS_TestCases.ttcn +103 −1 Original line number Diff line number Diff line /** * @author ETSI / TTF041 * @version $URL$ * $Id$ * @desc This module provides testcases for NG_NAS 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 */ module NG_NAS_TestCases{ // LibCommon import from LibCommon_Sync all ; // NG_NAS import from Lib_NG_NAS_Interface all; import from NG_NAS_TCFunctions all; import from NG_NAS_Pics all; import from NG_NAS_TestConfiguration all; import from NG_NAS_TestSystem all; // LibNGAP //import from NGAP_Constants language "ASN.1:2002" all; //import from NGAP_CommonDataTypes language "ASN.1:2002" all; //import from NGAP_IEs language "ASN.1:2002" all; //import from NGAP_PDU_Contents language "ASN.1:2002" all; //import from NGAP_PDU_Descriptions language "ASN.1:2002" all; //import from NGAP_Containers language "ASN.1:2002" all; //import from LibNGAP_TypesAndValues all; //import from LibNGAP_Templates all; //import from LibNGAP_Pixits 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; group Testcase_template{ testcase TC_NGNAS_NGAP_AMF_TCNAME_NUM01() runs on gNB_NGNAS_NGAPComponent system TestAdapter { //testcase TC_NGAP_GNB_PDU_01() runs on NGNASComponent system TestAdapter { // Local variables //var /*NGNASComponent*/ aMFNGAPComponent v_ngap_amf; var gNB_NGNAS_NGAPComponent v_ngnas_ngap_gnb; // Test control if ((not PICS_NGNAS)){ log("*** " & __SCOPE__ & ": ERROR: 'PICS_NGNAS' shall be set to true for executing the TC. ***"); stop; } // Test component configuration //f_cf_NGNAS_aMF_Up(v_ngnas_amf); // Start v_ngnas_ngap_gnb.start(f_TC_NGNAS_aMF_functionName_01()); // synchronize PTC on 1 sychronization points f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone}); //f_cf_Down/*gNBoraMF*/(); } // End of testcase TC_NGNAS_NGAP_AMF_TCNAME_NUM01 }// End of group Testcase_template group /*5_5_1_2_*/Registration_Procedure_for_initial_registration { testcase TP_5GNAS_AMF_REG_REJ_01() runs on gNB_NGNAS_NGAPComponent system TestAdapter { // Local variables var gNB_NGNAS_NGAPComponent v_ngnas_ngap_gnb; // Test control if ((not PICS_NGNAS)){ log("*** " & __SCOPE__ & ": ERROR: 'PICS_NGNAS' shall be set to true for executing the TC. ***"); stop; } // Test component configuration f_cf_NGNAS_gNB_Up(v_ngnas_ngap_gnb); // Start v_ngnas_ngap_gnb.start(f_TC_5GNAS_AMF_REG_REJ_01()); // synchronize PTC on 1 sychronization points f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone}); //f_cf_Down/*gNBoraMF*/(); } // End of testcase TP_5GNAS_AMF_REG_REJ_01 }// End of group /*5_5_1_2_*/Registration_Procedure_for_initial_registration }// End of module NG_NAS_TestCases Loading
ttcn/Ats_NG_NAS/NG_NAS_TestCases.ttcn +103 −1 Original line number Diff line number Diff line /** * @author ETSI / TTF041 * @version $URL$ * $Id$ * @desc This module provides testcases for NG_NAS 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 */ module NG_NAS_TestCases{ // LibCommon import from LibCommon_Sync all ; // NG_NAS import from Lib_NG_NAS_Interface all; import from NG_NAS_TCFunctions all; import from NG_NAS_Pics all; import from NG_NAS_TestConfiguration all; import from NG_NAS_TestSystem all; // LibNGAP //import from NGAP_Constants language "ASN.1:2002" all; //import from NGAP_CommonDataTypes language "ASN.1:2002" all; //import from NGAP_IEs language "ASN.1:2002" all; //import from NGAP_PDU_Contents language "ASN.1:2002" all; //import from NGAP_PDU_Descriptions language "ASN.1:2002" all; //import from NGAP_Containers language "ASN.1:2002" all; //import from LibNGAP_TypesAndValues all; //import from LibNGAP_Templates all; //import from LibNGAP_Pixits 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; group Testcase_template{ testcase TC_NGNAS_NGAP_AMF_TCNAME_NUM01() runs on gNB_NGNAS_NGAPComponent system TestAdapter { //testcase TC_NGAP_GNB_PDU_01() runs on NGNASComponent system TestAdapter { // Local variables //var /*NGNASComponent*/ aMFNGAPComponent v_ngap_amf; var gNB_NGNAS_NGAPComponent v_ngnas_ngap_gnb; // Test control if ((not PICS_NGNAS)){ log("*** " & __SCOPE__ & ": ERROR: 'PICS_NGNAS' shall be set to true for executing the TC. ***"); stop; } // Test component configuration //f_cf_NGNAS_aMF_Up(v_ngnas_amf); // Start v_ngnas_ngap_gnb.start(f_TC_NGNAS_aMF_functionName_01()); // synchronize PTC on 1 sychronization points f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone}); //f_cf_Down/*gNBoraMF*/(); } // End of testcase TC_NGNAS_NGAP_AMF_TCNAME_NUM01 }// End of group Testcase_template group /*5_5_1_2_*/Registration_Procedure_for_initial_registration { testcase TP_5GNAS_AMF_REG_REJ_01() runs on gNB_NGNAS_NGAPComponent system TestAdapter { // Local variables var gNB_NGNAS_NGAPComponent v_ngnas_ngap_gnb; // Test control if ((not PICS_NGNAS)){ log("*** " & __SCOPE__ & ": ERROR: 'PICS_NGNAS' shall be set to true for executing the TC. ***"); stop; } // Test component configuration f_cf_NGNAS_gNB_Up(v_ngnas_ngap_gnb); // Start v_ngnas_ngap_gnb.start(f_TC_5GNAS_AMF_REG_REJ_01()); // synchronize PTC on 1 sychronization points f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone}); //f_cf_Down/*gNBoraMF*/(); } // End of testcase TP_5GNAS_AMF_REG_REJ_01 }// End of group /*5_5_1_2_*/Registration_Procedure_for_initial_registration }// End of module NG_NAS_TestCases