e2ap: update reset test functions

master
Brendan 2 years ago committed by Justin Tallon
parent 3015a6cd13
commit 1aa5c3819b

@ -159,7 +159,9 @@ void test_native_e2ap_reset_request()
{
srsran::unique_byte_buffer_t buf = srsran::make_byte_buffer();
e2_ap_pdu_c pdu, pdu2;
e2ap e2ap_;
srslog::basic_logger& logger = srslog::fetch_basic_logger("E2AP");
dummy_metrics_interface dummy_metrics;
e2ap e2ap_(logger, &dummy_metrics);
pdu = e2ap_.generate_reset_request();
asn1::bit_ref bref(buf->msg, buf->get_tailroom());
@ -178,7 +180,9 @@ void test_native_e2ap_reset_response()
{
srsran::unique_byte_buffer_t buf = srsran::make_byte_buffer();
e2_ap_pdu_c pdu, pdu2;
e2ap e2ap_;
srslog::basic_logger& logger = srslog::fetch_basic_logger("E2AP");
dummy_metrics_interface dummy_metrics;
e2ap e2ap_(logger, &dummy_metrics);
pdu = e2ap_.generate_reset_response();
asn1::bit_ref bref(buf->msg, buf->get_tailroom());
@ -204,4 +208,4 @@ int main()
test_native_e2ap_reset_response();
// call reset test functions here
return 0;
}
}

Loading…
Cancel
Save