From 7368a104600d5d030ab1a8d7508be045b47c47ca Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Tue, 1 Jun 2021 01:25:08 +0200 Subject: [PATCH] BTS_Tests: make it less private and more friendly These definitions will be also used in 'BTS_Tests_VAMOS' module. Change-Id: Ia4eae7f14228e72cd63bd8f84e27606ac972006c Related: SYS#4895, OS#4941 --- bts/BTS_Tests.ttcn | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn index 9289673fb..6c5663a16 100644 --- a/bts/BTS_Tests.ttcn +++ b/bts/BTS_Tests.ttcn @@ -294,7 +294,7 @@ type record ConnHdlrPars { }; /* Test-specific parameters */ -private type union TestSpecUnion { +friend type union TestSpecUnion { RllTestCase rll } @@ -6209,15 +6209,15 @@ private function f_tx_lapdm(template (value) LapdmFrame l, } } -private type record RllTestCase { +friend type record RllTestCase { uint3_t sapi, RslLinkId link_id, octetstring l3, boolean exp } -private type record of RllTestCase RllTestCases; -private template RllTestCase t_EITC(uint3_t sapi, RslLinkId id, - octetstring l3, boolean exp) := { +friend type record of RllTestCase RllTestCases; +friend template RllTestCase t_EITC(uint3_t sapi, RslLinkId id, + octetstring l3, boolean exp) := { sapi := sapi, link_id := id, l3 := l3, @@ -6350,7 +6350,7 @@ testcase TC_rll_est_req_ACCH_3() runs on test_CT { } /* altstep to receive a LAPDm frame matching the given template */ -private altstep as_l1_exp_lapdm(template LapdmFrame exp) runs on ConnHdlr { +friend altstep as_l1_exp_lapdm(template LapdmFrame exp) runs on ConnHdlr { var L1ctlDlMessage dl; [] L1CTL.receive(tr_L1CTL_DATA_IND(g_chan_nr, ?)) -> value dl { var LapdmFrame lapdm;