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
This commit is contained in:
parent
a3ff670c5f
commit
d522ca09dc
|
@ -608,6 +608,23 @@ testcase TC_sms_cb_cmd_sdcch8_default_only() runs on test_CT {
|
||||||
Misc_Helpers.f_shutdown(__BFILE__, __LINE__, pass);
|
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 */
|
/* first set a DEFAULT message, then disable it again */
|
||||||
testcase TC_sms_cb_cmd_sdcch4_default_then_null() runs on test_CT {
|
testcase TC_sms_cb_cmd_sdcch4_default_then_null() runs on test_CT {
|
||||||
var CbchTestPars pars := {
|
var CbchTestPars pars := {
|
||||||
|
@ -668,6 +685,7 @@ control {
|
||||||
execute( TC_sms_cb_cmd_sdcch4_multi() );
|
execute( TC_sms_cb_cmd_sdcch4_multi() );
|
||||||
execute( TC_sms_cb_cmd_sdcch4_schedule() );
|
execute( TC_sms_cb_cmd_sdcch4_schedule() );
|
||||||
execute( TC_sms_cb_cmd_sdcch4_default_only() );
|
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_sdcch4_default_then_null() );
|
||||||
if (false) { /* FIXME: SDCCH/8 support broken, needs trxcon + L1CTL work */
|
if (false) { /* FIXME: SDCCH/8 support broken, needs trxcon + L1CTL work */
|
||||||
execute( TC_sms_cb_cmd_sdcch8_1block() );
|
execute( TC_sms_cb_cmd_sdcch8_1block() );
|
||||||
|
@ -677,6 +695,7 @@ control {
|
||||||
execute( TC_sms_cb_cmd_sdcch8_multi() );
|
execute( TC_sms_cb_cmd_sdcch8_multi() );
|
||||||
execute( TC_sms_cb_cmd_sdcch8_schedule() );
|
execute( TC_sms_cb_cmd_sdcch8_schedule() );
|
||||||
execute( TC_sms_cb_cmd_sdcch8_default_only() );
|
execute( TC_sms_cb_cmd_sdcch8_default_only() );
|
||||||
|
execute( TC_sms_cb_cmd_sdcch8_default_and_normal() );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue