diff options
Diffstat (limited to 'stp')
-rw-r--r-- | stp/STP_Tests_M3UA.ttcn | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/stp/STP_Tests_M3UA.ttcn b/stp/STP_Tests_M3UA.ttcn index a44e6ad2..f6fa6252 100644 --- a/stp/STP_Tests_M3UA.ttcn +++ b/stp/STP_Tests_M3UA.ttcn @@ -261,6 +261,25 @@ testcase TC_asp_act_broadcast() runs on RAW_M3UA_CT { f_clear_m3ua(); } +/* test whether the STP accepts M3UA DATA without Routing Context IE */ +testcase TC_act_rctx_data_no_rctx() runs on RAW_M3UA_CT { + var OCT4 rctx_sender := int2oct(1023, 4); + var OCT4 pc_sender := int2oct(23, 4); + var OCT4 rctx_receiver := int2oct(1042, 4); + var OCT4 pc_receiver := int2oct(42, 4); + + f_init_m3ua(); + /* bring up the sender specifying a routing context */ + + f_M3UA_asp_up_act(0, rctx := rctx_sender); + f_M3UA_asp_up_act(1); + + /* check if DATA is accepted without Routing Context IE */ + f_test_traffic(0, omit, pc_sender, 1, rctx_receiver, pc_receiver); + + f_clear_m3ua(); +} + /* Test if traffic is routed from idx_tx/pc_tx to idx_rx/pc_rx */ private function f_test_traffic(integer idx_tx, template (omit) OCT4 rctx_sender, OCT4 pc_tx, integer idx_rx, template (omit) OCT4 rctx_receiver, OCT4 pc_rx, @@ -623,6 +642,7 @@ control { execute( TC_tmt_override() ); execute( TC_tmt_loadshare() ); execute( TC_tmt_broadcast() ); + execute( TC_act_rctx_data_no_rctx() ); /* M3UA RKM tests */ execute( TC_rkm_reg_static_notpermitted() ); |