Commits (3)
......@@ -2985,6 +2985,41 @@ module NGAP_TCFunctions {
group UE_TNLA_Binding_Procedures{
//8.13.1
group UE_TNLA_Binding_Release{
/**
* @desc Testcase function for TC_NGAP_aMF_UBP_01
*/
function f_TC_NGAP_AMF_UBP_01() runs on gNBNGAPComponent {
// Local variables
// Preamble
f_NGAP_gnb_init();
f_NGAP_gnb_UE_Register();
f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());
log("*** " & __SCOPE__ & ": INFO: Preamble done. ***");
// Body
action("Trigger UE TNLA BINDING procedure !");
// f_recv_NGAP_PDU(
// mw_ngap_initMsg(
// mw_n2_UeTnlaBindingReleaseRequest(
// )
// )
// );
f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());
log("*** " & __SCOPE__ & ": INFO: Testbody done. ***");
// Postamble
f_postamble_NGAP_AMF();
f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict());
log("*** " & __SCOPE__ & ": INFO: Postamble done. ***");
} // End of function f_TC_NGAP_AMF_UBP_01
} // End of group UE_TNLA_Binding_Release
} // End of group UE_TNLA_Binding_Procedures
//8.14
......@@ -2994,9 +3029,83 @@ module NGAP_TCFunctions {
} // End of group UE_Radio_Capability_Info_Indication
//8.14.2
group UE_Radio_Capability_Check{
/**
* @desc Testcase function for TC_NGAP_aMF_URP_01
*/
function f_TC_NGAP_AMF_URP_01() runs on gNBNGAPComponent {
// Local variables
// Preamble
f_NGAP_gnb_init();
f_NGAP_gnb_UE_Register();
f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());
log("*** " & __SCOPE__ & ": INFO: Preamble done. ***");
// Body
action("Trigger UE RADIO CAPABILITY CHECK management procedure !");
// f_recv_NGAP_PDU(
// mw_ngap_initMsg(
// mw_n2_Ue****( //FIXME: missing template
// )
// )
// );
f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());
log("*** " & __SCOPE__ & ": INFO: Testbody done. ***");
// Postamble
f_postamble_NGAP_AMF();
f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict());
log("*** " & __SCOPE__ & ": INFO: Postamble done. ***");
} // End of function f_TC_NGAP_AMF_URP_01
} // End of group UE_Radio_Capability_Check
//8.14.3
group UE_Radio_Capability_ID_Mapping{
/**
* @desc Testcase function for TC_NGAP_aMF_URP_02
*/
function f_TC_NGAP_AMF_URP_02() runs on gNBNGAPComponent {
// Local variables
// Preamble
f_NGAP_gnb_init();
f_NGAP_gnb_UE_Register();
f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());
log("*** " & __SCOPE__ & ": INFO: Preamble done. ***");
// Body
// f_send_NGAP_PDU(
// m_ngap_initMsg(
//FIXME: missing template
// )
// );
// f_recv_NGAP_PDU(
// mw_ngap_initMsg(
// mw_n2_Ue****( //FIXME: missing template
// )
// )
// );
f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());
log("*** " & __SCOPE__ & ": INFO: Testbody done. ***");
// Postamble
f_postamble_NGAP_AMF();
f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict());
log("*** " & __SCOPE__ & ": INFO: Postamble done. ***");
} // End of function f_TC_NGAP_AMF_URP_02
} // End of group UE_Radio_Capability_ID_Mapping
} // End of group UE_Radio_Capability_Management_Procedures
//8.15
......@@ -3012,6 +3121,41 @@ module NGAP_TCFunctions {
} // End of group Uplink_RIM_Information_Transfer
//8.16.2
group Downlink_RIM_Information_Transfer{
/**
* @desc Testcase function for TC_NGAP_aMF_RIP_01
*/
function f_TC_NGAP_AMF_RIP_01() runs on gNBNGAPComponent {
// Local variables
// Preamble
f_NGAP_gnb_init();
f_NGAP_gnb_UE_Register();
f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());
log("*** " & __SCOPE__ & ": INFO: Preamble done. ***");
// Body
action("Trigger RIM Information Transfer procedure !");
// f_recv_NGAP_PDU(
// mw_ngap_initMsg(
// mw_n2_Ue****( //FIXME: missing template
// )
// )
// );
f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());
log("*** " & __SCOPE__ & ": INFO: Testbody done. ***");
// Postamble
f_postamble_NGAP_AMF();
f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict());
log("*** " & __SCOPE__ & ": INFO: Postamble done. ***");
} // End of function f_TC_NGAP_AMF_RIP_01
} // End of group Downlink_RIM_Information_Transfer
} // End of group RIM_Information_Transfer_Procedures
} // End of group aMF_Role
......
......@@ -1828,6 +1828,34 @@ module NGAP_TestCases {
group UE_TNLA_Binding_Procedures{
//8.13.1
group UE_TNLA_Binding_Release{
/**
* @desc "Verify that the IUT can send a UE TNLA BINDING RELEASE REQUEST to initiate a UE TNLA Binding Release procedure."
*/
testcase TC_NGAP_AMF_UBP_01() runs on gNBNGAPComponent system TestAdapter {
// Local variables
var gNBNGAPComponent v_ngap_gnb;
// Test control
if ((not PICS_NGAP_AMF_IUT) and (not PICS_A4_12_1)){
log("*** " & __SCOPE__ & ": ERROR: 'PICS_NGAP_AMF_IUT and PICS_A4_12_1' 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_AMF_UBP_01());
// synchronize PTC on 1 sychronization points
f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
f_cf_Down/*gNBoraMF*/();
} // End of testcase TC_NGAP_AMF_UBP_01
} // End of group UE_TNLA_Binding_Release
} // End of group UE_TNLA_Binding_Procedures
//8.14
......@@ -1837,9 +1865,65 @@ module NGAP_TestCases {
} // End of group UE_Radio_Capability_Info_Indication
//8.14.2
group UE_Radio_Capability_Check{
/**
* @desc "Verify that the IUT can send a UE RADIO CAPABILITY CHECK REQUEST to initiate UE Radio Capability Management procedure."
*/
testcase TC_NGAP_AMF_URP_01() runs on gNBNGAPComponent system TestAdapter {
// Local variables
var gNBNGAPComponent v_ngap_gnb;
// Test control
if ((not PICS_NGAP_AMF_IUT) and (not PICS_A4_13_2)){
log("*** " & __SCOPE__ & ": ERROR: 'PICS_NGAP_AMF_IUT and PICS_A4_13_2' 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_AMF_URP_01());
// synchronize PTC on 1 sychronization points
f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
f_cf_Down/*gNBoraMF*/();
} // End of testcase TC_NGAP_AMF_URP_01
} // End of group UE_Radio_Capability_Check
//8.14.3
group UE_Radio_Capability_ID_Mapping{
/**
* @desc "Verify that the IUT can send a UE RADIO CAPABILITY ID MAPPING RESPONSE message that contains mandatory IEs to provide the UE radio capabilities id mapping."
*/
testcase TC_NGAP_AMF_URP_02() runs on gNBNGAPComponent system TestAdapter {
// Local variables
var gNBNGAPComponent v_ngap_gnb;
// Test control
if ((not PICS_NGAP_AMF_IUT) and (not PICS_A4_13_3)){
log("*** " & __SCOPE__ & ": ERROR: 'PICS_NGAP_AMF_IUT and PICS_A4_13_3' 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_AMF_URP_02());
// synchronize PTC on 1 sychronization points
f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
f_cf_Down/*gNBoraMF*/();
} // End of testcase TC_NGAP_AMF_URP_02
} // End of group UE_Radio_Capability_ID_Mapping
} // End of group UE_Radio_Capability_Management_Procedures
//8.15
......@@ -1855,6 +1939,34 @@ module NGAP_TestCases {
} // End of group Uplink_RIM_Information_Transfer
//8.16.2
group Downlink_RIM_Information_Transfer{
/**
* @desc "Verify that the IUT can send a DOWNLINK RIM INFORMATION TRANSFER."
*/
testcase TC_NGAP_AMF_RIP_01() runs on gNBNGAPComponent system TestAdapter {
// Local variables
var gNBNGAPComponent v_ngap_gnb;
// Test control
if ((not PICS_NGAP_AMF_IUT) and (not PICS_A4_15_2)){
log("*** " & __SCOPE__ & ": ERROR: 'PICS_NGAP_AMF_IUT and PICS_A4_15_2' 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_AMF_RIP_01());
// synchronize PTC on 1 sychronization points
f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});
f_cf_Down/*gNBoraMF*/();
} // End of testcase TC_NGAP_AMF_RIP_01
} // End of group Downlink_RIM_Information_Transfer
} // End of group RIM_Information_Transfer_Procedures
} // End of group aMF_Role
......