Change in osmo-ttcn3-hacks[master]: BTS_Tests: make it less private and more friendly

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

fixeria gerrit-no-reply at lists.osmocom.org
Tue Jun 1 14:34:38 UTC 2021


fixeria has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/24477 )

Change subject: BTS_Tests: make it less private and more friendly
......................................................................

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
---
M bts/BTS_Tests.ttcn
1 file changed, 6 insertions(+), 6 deletions(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved



diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index 9289673..6c5663a 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -294,7 +294,7 @@
 };
 
 /* Test-specific parameters */
-private type union TestSpecUnion {
+friend type union TestSpecUnion {
 	RllTestCase rll
 }
 
@@ -6209,15 +6209,15 @@
 	}
 }
 
-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 @@
 }
 
 /* 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;

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/24477
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ia4eae7f14228e72cd63bd8f84e27606ac972006c
Gerrit-Change-Number: 24477
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210601/99c926d9/attachment.htm>


More information about the gerrit-log mailing list