Change in osmo-ttcn3-hacks[master]: bts: Test case for mixed NORMAL and DEFAULT SMSCB

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
Tue May 21 14:42:09 UTC 2019


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/14108 )

Change subject: bts: Test case for mixed NORMAL and DEFAULT SMSCB
......................................................................

bts: Test case for mixed NORMAL and DEFAULT SMSCB

This adds TC_sms_cb_cmd_sdcch{4,8]_default_and_normal() which test
the correct behavior in case of a DEFAULT SMSCB and normal one-shot
SMSCBs.

Change-Id: I0782b121cd69158903b09f935b298ddbf5a9ffb5
Related: OS#4011
---
M bts/BTS_Tests_SMSCB.ttcn
1 file changed, 19 insertions(+), 0 deletions(-)

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



diff --git a/bts/BTS_Tests_SMSCB.ttcn b/bts/BTS_Tests_SMSCB.ttcn
index e1efd63..874acb4 100644
--- a/bts/BTS_Tests_SMSCB.ttcn
+++ b/bts/BTS_Tests_SMSCB.ttcn
@@ -608,6 +608,23 @@
 	Misc_Helpers.f_shutdown(__BFILE__, __LINE__, pass);
 }
 
+testcase TC_sms_cb_cmd_sdcch4_default_and_normal() runs on test_CT {
+	var CbchTestPars pars := {
+		use_sdcch4 := true,
+		basic := valueof(t_CbchPC(msgs_1m_3b_norm, msg_default)),
+		extended := omit
+	};
+	f_TC_smscb(pars);
+}
+testcase TC_sms_cb_cmd_sdcch8_default_and_normal() runs on test_CT {
+	var CbchTestPars pars := {
+		use_sdcch4 := true,
+		basic := valueof(t_CbchPC(msgs_1m_3b_norm, msg_default)),
+		extended := omit
+	};
+	f_TC_smscb(pars);
+}
+
 /* first set a DEFAULT message, then disable it again */
 testcase TC_sms_cb_cmd_sdcch4_default_then_null() runs on test_CT {
 	var CbchTestPars pars := {
@@ -668,6 +685,7 @@
 	execute( TC_sms_cb_cmd_sdcch4_multi() );
 	execute( TC_sms_cb_cmd_sdcch4_schedule() );
 	execute( TC_sms_cb_cmd_sdcch4_default_only() );
+	execute( TC_sms_cb_cmd_sdcch4_default_and_normal() );
 	execute( TC_sms_cb_cmd_sdcch4_default_then_null() );
 	if (false) { /* FIXME: SDCCH/8 support broken, needs trxcon + L1CTL work */
 	execute( TC_sms_cb_cmd_sdcch8_1block() );
@@ -677,6 +695,7 @@
 	execute( TC_sms_cb_cmd_sdcch8_multi() );
 	execute( TC_sms_cb_cmd_sdcch8_schedule() );
 	execute( TC_sms_cb_cmd_sdcch8_default_only() );
+	execute( TC_sms_cb_cmd_sdcch8_default_and_normal() );
 	}
 }
 

-- 
To view, visit https://gerrit.osmocom.org/14108
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I0782b121cd69158903b09f935b298ddbf5a9ffb5
Gerrit-Change-Number: 14108
Gerrit-PatchSet: 4
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190521/e25a07c0/attachment.htm>


More information about the gerrit-log mailing list