Newer
Older
* @author ETSI / STF519
* @version $URL:$
* $Id:$
* @desc This module provides test cases for S1AP 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
//LibCommon
import from LibCommon_Sync all ;
import from LibCommon_VerdictControl all;
//LibS1AP
//import from LibS1AP_TypesAndValues all;
import from LibS1AP_Interface all;
//Ats
import from S1AP_TestConfiguration all;
import from S1AP_TestSystem all;
import from S1AP_TCFunctions all;
import from S1AP_Steps all;
import from S1AP_TestSystem all;
testcase TP_S1AP_ENB_RAB_01() runs on S1AP system TestAdapter {
// Local variables
var S1AP v_s1ap_enb;
// Test control
if (not PICS_S1AP_eNB_IUT) {
log("*** " & __SCOPE__ & ": ERROR: 'PICS_S1AP_eNB_IUT' shall be set to true for executing the TC. ***");
stop;
}
// Test component configuration
// synchronize PTC on 1 sychronization points
f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
} // End of testcase TP_S1AP_ENB_RAB_01
testcase TP_S1AP_ENB_RAB_02() runs on S1AP system TestAdapter {
// Local variables
var S1AP v_s1ap_enb;
// Test control
if (not PICS_S1AP_eNB_IUT) {
log("*** " & __SCOPE__ & ": ERROR: 'PICS_S1AP_eNB_IUT' shall be set to true for executing the TC. ***");
stop;
}
// Test component configuration
f_cf_S1AP_eNB_Up(v_s1ap_enb);
// Start
v_s1ap_enb.start(f_TP_S1AP_ENB_RAB_02());
// synchronize PTC on 1 sychronization points
f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
f_cf_Down();
} // End of testcase TP_S1AP_ENB_RAB_02
} // End of group eNB_Role
group MME_Role {
group ERAB_management_group {
testcase TP_S1AP_MME_RAB_01() runs on S1AP system TestAdapter {
// Local variables
// Test control
if (not PICS_S1AP_MME_IUT) {
log("*** " & __SCOPE__ & ": ERROR: 'PICS_S1AP_MME_IUT' shall be set to true for executing the TC. ***");
stop;
}
// synchronize PTC on 1 sychronization points
f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
} // End of testcase TP_S1AP_MME_RAB_01