Change in ...osmo-ttcn3-hacks[master]: bts: Derive test component that talks RSL and LAPDm

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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Sun Jun 2 21:28:46 UTC 2019


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14328 )

Change subject: bts: Derive test component that talks RSL and LAPDm
......................................................................

bts: Derive test component that talks RSL and LAPDm

Change-Id: I6e24c6f6a904c4c051780c35af82c3bd53c970ce
---
M bts/BTS_Tests_LAPDm.ttcn
1 file changed, 7 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



diff --git a/bts/BTS_Tests_LAPDm.ttcn b/bts/BTS_Tests_LAPDm.ttcn
index d6c605d..a5bcc56 100644
--- a/bts/BTS_Tests_LAPDm.ttcn
+++ b/bts/BTS_Tests_LAPDm.ttcn
@@ -3,12 +3,19 @@
 	import from Osmocom_Types all;
 	import from LAPDm_RAW_PT all;
 	import from LAPDm_Types all;
+	import from BTS_Tests all;
 
+	/* test that use exclusively only LAPDm over L1CTL */
 	type component lapdm_test_CT {
 		port LAPDm_PT LAPDM;
 		var lapdm_CT lapdm_component;
 	};
 
+	/* contrary to BTS_Tests.ttcn, we use LAPDm_PT here, a convenience wrapper
+	 * around L1CTL to perform encode/decode of abstract LAPDm frames */
+	type component lapdm_bts_CT extends lapdm_test_CT, test_CT {
+	}
+
 	function f_init() runs on lapdm_test_CT {
 		/* create the LAPDm component */
 		lapdm_component := lapdm_CT.create;

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14328
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: I6e24c6f6a904c4c051780c35af82c3bd53c970ce
Gerrit-Change-Number: 14328
Gerrit-PatchSet: 2
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190602/428e99be/attachment.htm>


More information about the gerrit-log mailing list