aboutsummaryrefslogtreecommitdiffstats
path: root/tests/gb
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2021-01-25 16:09:23 +0100
committerAlexander Couzens <lynxis@fe80.eu>2021-01-25 16:09:23 +0100
commit8dfc24cb470f4637e2fb20260e8a6e57553de6d9 (patch)
treea7c11d9f389022b3eb4308329dda07557f6c815c /tests/gb
parentba5a9927b6a0c3ef3c28e1d2c8e975f67f991581 (diff)
gprs_ns2: drop prefix of all internal exposed function
All functions which are exposed by gprs_ns2_internal.h should not contain the public prefix gprs_. Internal function should only contain ns2_ prefix. Change-Id: Icecc5a918902cd10efac72bbac20780d39aab272
Diffstat (limited to 'tests/gb')
-rw-r--r--tests/gb/gprs_ns2_test.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/gb/gprs_ns2_test.c b/tests/gb/gprs_ns2_test.c
index 10f430df..335a079a 100644
--- a/tests/gb/gprs_ns2_test.c
+++ b/tests/gb/gprs_ns2_test.c
@@ -254,7 +254,7 @@ void test_block_unblock_nsvc(void *ctx)
OSMO_ASSERT(nsvc[i]);
nsvc[i]->fi->state = 3; /* HACK: 3 = GPRS_NS2_ST_UNBLOCKED */
/* ensure the fi->state works correct */
- OSMO_ASSERT(gprs_ns2_vc_is_unblocked(nsvc[i]));
+ OSMO_ASSERT(ns2_vc_is_unblocked(nsvc[i]));
ns2_nse_notify_unblocked(nsvc[i], true);
}
@@ -277,7 +277,7 @@ void test_block_unblock_nsvc(void *ctx)
nsh->pdu_type = NS_PDUT_UNBLOCK_ACK;
ns2_recv_vc(nsvc[0], msg);
- OSMO_ASSERT(gprs_ns2_vc_is_unblocked(nsvc[0]));
+ OSMO_ASSERT(ns2_vc_is_unblocked(nsvc[0]));
gprs_ns2_free(nsi);
printf("--- Finish NSE block unblock nsvc\n");
}
@@ -330,11 +330,11 @@ void test_unitdata(void *ctx)
nsvc[i] = ns2_vc_alloc(bind[i], nse, false, NS2_VC_MODE_BLOCKRESET, idbuf);
loop[i] = loopback_nsvc(loopbind, nsvc[i]);
OSMO_ASSERT(nsvc[i]);
- gprs_ns2_vc_fsm_start(nsvc[i]);
- OSMO_ASSERT(!gprs_ns2_vc_is_unblocked(nsvc[i]));
+ ns2_vc_fsm_start(nsvc[i]);
+ OSMO_ASSERT(!ns2_vc_is_unblocked(nsvc[i]));
ns2_tx_reset(loop[i], NS_CAUSE_OM_INTERVENTION);
ns2_tx_unblock(loop[i]);
- OSMO_ASSERT(gprs_ns2_vc_is_unblocked(nsvc[i]));
+ OSMO_ASSERT(ns2_vc_is_unblocked(nsvc[i]));
}
/* both nsvcs are unblocked and alive */