From 3b59eb5aeeac7efa1680b9f931ee2fe152abac40 Mon Sep 17 00:00:00 2001 From: Daniel Willmann Date: Mon, 29 Oct 2018 15:40:55 +0100 Subject: 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 --- bsc/BSC_Tests.ttcn | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bsc/BSC_Tests.ttcn') diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn index fef5fd74..ae855bd4 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); -- cgit v1.2.3