From dd82be3c53e9b6c9598d9657e4679463cd7d4141 Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Sun, 18 Oct 2020 16:09:58 +0700 Subject: [PATCH] BTS_Tests: fix f_TC_imm_ass(): use send template, not receive one BTS_Tests.ttcn:3647.9-3703.1: In function definition `f_TC_imm_ass': BTS_Tests.ttcn:3661.37-99: In the operand of operation `valueof()': BTS_Tests.ttcn:3661.58-98: In actual parameter list of template `@GSM_RR_Types.ts_ChanDescH0': GSM_Types.ttcn:125.48-55: warning: Inadequate restriction on the referenced template parameter `sub_slot', this may cause a dynamic test case error at runtime GSM_Types.ttcn:126.8-9: warning: Inadequate restriction on the referenced template parameter `tn', this may cause a dynamic test case error at runtime Change-Id: I7d36d25e5f8d3bb1040c737eeaeddd15f98ec4c2 --- bts/BTS_Tests.ttcn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn index ae2d2e0a4..aa0618028 100644 --- a/bts/BTS_Tests.ttcn +++ b/bts/BTS_Tests.ttcn @@ -3566,7 +3566,7 @@ private function f_TC_imm_ass(integer num_total, float sleep_s, float exp_pass) f_l1_tune(L1CTL); for (var integer i := 0; i < num_total; i := i+1) { - var ChannelDescription ch_desc := valueof(ts_ChanDescH0(t_RslChanNr_SDCCH4(0, 0), mp_trx0_arfcn)); + var ChannelDescription ch_desc := valueof(ts_ChanDescH0(ts_RslChanNr_SDCCH4(0, 0), mp_trx0_arfcn)); var GsmRrMessage ia := valueof(ts_IMM_ASS(42, i, 5, ch_desc, c_MA_null)); var octetstring ia_enc := enc_GsmRrMessage(ia); RSL_CCHAN.send(ts_ASP_RSL_UD(ts_RSL_IMM_ASSIGN(ia_enc, 0)));