summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2019-03-21 21:30:21 +0100
committerHarald Welte <laforge@gnumonks.org>2019-03-27 11:17:49 +0000
commit0466d16d4243d96c8819b10d032d9be8d4d34d7d (patch)
tree2251538e43a683d5c2dde64706b100c26d5b71b1
parentf12b5a412de9fc5f4c3ebcecb3043f7d3daea792 (diff)
pcu: move f_pcuif_tx() to PCU_Tests_RAW as it runs on RAW_PCU_CT
-rw-r--r--pcu/PCU_Tests_RAW.ttcn4
-rw-r--r--pcu/PCU_Tests_RAW_SNS.ttcn4
2 files changed, 4 insertions, 4 deletions
diff --git a/pcu/PCU_Tests_RAW.ttcn b/pcu/PCU_Tests_RAW.ttcn
index 6022d36..3e38fa8 100644
--- a/pcu/PCU_Tests_RAW.ttcn
+++ b/pcu/PCU_Tests_RAW.ttcn
@@ -73,6 +73,10 @@ function f_init_pcuif() runs on RAW_PCU_CT {
PCU.send(t_SD_PCUIF(g_pcu_conn_id, info_ind));
}
+function f_pcuif_tx(template (value) PCUIF_Message msg) runs on RAW_PCU_CT {
+ PCU.send(t_SD_PCUIF(g_pcu_conn_id, msg));
+}
+
function f_init_ns_codec(integer idx := 0, float guard_secs := 60.0) runs on RAW_NS_CT {
var Result res;
diff --git a/pcu/PCU_Tests_RAW_SNS.ttcn b/pcu/PCU_Tests_RAW_SNS.ttcn
index 7513196..9bedff9 100644
--- a/pcu/PCU_Tests_RAW_SNS.ttcn
+++ b/pcu/PCU_Tests_RAW_SNS.ttcn
@@ -354,10 +354,6 @@ testcase TC_sns_chg_weight() runs on RAW_Test_CT {
import from PCUIF_Types all;
import from PCUIF_CodecPort all;
-private function f_pcuif_tx(template (value) PCUIF_Message msg) runs on RAW_PCU_CT {
- PCU.send(t_SD_PCUIF(g_pcu_conn_id, msg));
-}
-
altstep as_pcu_activate() runs on RAW_PCU_CT {
var PCUIF_send_data sd;
[] PCU.receive(t_SD_PCUIF(g_pcu_conn_id, tr_PCUIF_ACT_REQ(?, ?, ?))) -> value sd { repeat; }