diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-11-18 20:34:21 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-11-18 20:34:21 +0100 |
commit | 8d2fbb4d619a55bcff59af289ea76eca484142f5 (patch) | |
tree | a4aff46b17544cde696fa1317305a8af36a4e571 /mgw/MGCP_Test.ttcn | |
parent | 0d198617190d855cf36efa1a89621f96cfcaf844 (diff) |
mgw: Move f_mgcp_par_append() to top of file
Diffstat (limited to 'mgw/MGCP_Test.ttcn')
-rw-r--r-- | mgw/MGCP_Test.ttcn | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mgw/MGCP_Test.ttcn b/mgw/MGCP_Test.ttcn index b2a37bc1..0152db8f 100644 --- a/mgw/MGCP_Test.ttcn +++ b/mgw/MGCP_Test.ttcn @@ -72,6 +72,11 @@ module MGCP_Test { } } + function f_mgcp_par_append(inout template MgcpParameterList list, template MgcpParameter par) { + var integer len := lengthof(list); + list[len] := par; + } + /* 3.2.2.6 Connection Mode (sendonly, recvonly, sendrecv, confrnce, inactive, loopback, * conttest, netwloop, netwtest) */ template MgcpParameter t_MgcpParConnMode(template MgcpConnectionMode mode) := { "M", mode }; @@ -449,11 +454,6 @@ module MGCP_Test { setverdict(pass); } - function f_mgcp_par_append(inout template MgcpParameterList list, template MgcpParameter par) { - var integer len := lengthof(list); - list[len] := par; - } - /* test CRCX with unsupported Parameters */ testcase TC_crcx_unsupp_param() runs on dummy_CT { var template MgcpCommand cmd; |