summaryrefslogtreecommitdiffstats
path: root/bsc/BSC_Tests.ttcn
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2018-10-29 15:40:55 +0100
committerDaniel Willmann <dwillmann@sysmocom.de>2018-10-29 15:58:45 +0100
commit3b59eb5aeeac7efa1680b9f931ee2fe152abac40 (patch)
treeb5e62a3f41bd244167d6fe365dadd406a6e46c4a /bsc/BSC_Tests.ttcn
parent0cedf2c5db4267c124588f636af935ededbc3777 (diff)
bsc: Use f_gen_test_hdlr_pars() to be aware of AoIP/sccplite
Some TC_no_out_fail_* testcases still used valueof() to get g_pars which always set aoip to true. Use f_gen_test_hdlr_pars() now so these tests can properly detect if they are run with sccplite of aoip and can adjust their expectations accordingly. Change-Id: Ic164827d63c9f5452888951bba4c197c3fe6f57b
Diffstat (limited to 'bsc/BSC_Tests.ttcn')
-rw-r--r--bsc/BSC_Tests.ttcn6
1 files changed, 3 insertions, 3 deletions
diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index fef5fd7..ae855bd 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -2277,7 +2277,7 @@ testcase TC_ho_out_of_this_bsc() runs on test_CT {
/* BSC asks for inter-BSC HO, but the MSC decides that it won't happen and
* simply never sends a BSSMAP Handover Command. */
private function f_tc_ho_out_fail_no_msc_response(charstring id) runs on MSC_ConnHdlr {
- g_pars := valueof(t_def_TestHdlrPars);
+ g_pars := f_gen_test_hdlr_pars();
var PDU_BSSAP ass_req := f_gen_ass_req();
ass_req.pdu.bssmap.assignmentRequest.channelType := valueof(ts_BSSMAP_IE_ChannelType);
@@ -2323,7 +2323,7 @@ testcase TC_ho_out_fail_no_msc_response() runs on test_CT {
/* BSC asks for inter-BSC HO, receives BSSMAP Handover Command, but MS reports
* RR Handover Failure. */
private function f_tc_ho_out_fail_rr_ho_failure(charstring id) runs on MSC_ConnHdlr {
- g_pars := valueof(t_def_TestHdlrPars);
+ g_pars := f_gen_test_hdlr_pars();
var PDU_BSSAP ass_req := f_gen_ass_req();
ass_req.pdu.bssmap.assignmentRequest.channelType := valueof(ts_BSSMAP_IE_ChannelType);
@@ -2406,7 +2406,7 @@ testcase TC_ho_out_fail_rr_ho_failure() runs on test_CT {
/* BSC asks for inter-BSC HO, receives BSSMAP Handover Command, but MS reports
* RR Handover Failure. */
private function f_tc_ho_out_fail_no_ho_detect(charstring id) runs on MSC_ConnHdlr {
- g_pars := valueof(t_def_TestHdlrPars);
+ g_pars := f_gen_test_hdlr_pars();
var PDU_BSSAP ass_req := f_gen_ass_req();
ass_req.pdu.bssmap.assignmentRequest.channelType := valueof(ts_BSSMAP_IE_ChannelType);