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

Harald Welte gerrit-no-reply at lists.osmocom.org
Mon May 20 18:15:31 UTC 2019


Harald Welte has uploaded this change for review. ( https://gerrit.osmocom.org/14108


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

cbch: 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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/08/14108/1

diff --git a/bts/BTS_Tests_SMSCB.ttcn b/bts/BTS_Tests_SMSCB.ttcn
index 24f5fd2..1710d26 100644
--- a/bts/BTS_Tests_SMSCB.ttcn
+++ b/bts/BTS_Tests_SMSCB.ttcn
@@ -591,6 +591,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 := {
@@ -651,6 +668,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() );
 	execute( TC_sms_cb_cmd_sdcch8_1block() );
 	execute( TC_sms_cb_cmd_sdcch8_2block() );
@@ -659,6 +677,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: newchange
Gerrit-Change-Id: I0782b121cd69158903b09f935b298ddbf5a9ffb5
Gerrit-Change-Number: 14108
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190520/fdaf7b0e/attachment.html>


More information about the gerrit-log mailing list