summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2021-09-06 17:45:54 +0200
committerlynxis lazus <lynxis@fe80.eu>2021-09-07 12:42:48 +0000
commit13b3ec85347c4588154abf8f4671c17b20bbc37a (patch)
treed98d9cf81ee2217536b819d762f45a2d8cf7e4a2
parent357c572ad283cd9539844c53d15da704f9f339a4 (diff)
ns: add test case for SIZE after a successful configuration
-rw-r--r--ns/NS_Tests.ttcn17
1 files changed, 17 insertions, 0 deletions
diff --git a/ns/NS_Tests.ttcn b/ns/NS_Tests.ttcn
index c3247fcb..3d7b31a0 100644
--- a/ns/NS_Tests.ttcn
+++ b/ns/NS_Tests.ttcn
@@ -827,6 +827,22 @@ testcase TC_sns_sgsn_config_success() runs on RAW_Test_CT {
f_clean_ns_codec();
}
+/* Ensure a SIZE after a success full configuration is handled */
+testcase TC_sns_sgsn_size_after_success() runs on RAW_Test_CT {
+ f_init_vty();
+ f_init_ns_codec(mp_nsconfig);
+ f_outgoing_sns_size();
+ f_outgoing_sns_config();
+ f_incoming_sns_config();
+ NSCP[0].receive(t_NS_ALIVE);
+
+ f_outgoing_sns_size();
+ f_outgoing_sns_config();
+ f_incoming_sns_config();
+ setverdict(pass);
+ f_clean_ns_codec();
+}
+
/* Ensure a SNS SIZE ACK is transmitted from the correct port */
testcase TC_sns_sgsn_size_correct_port() runs on RAW_Test_CT {
f_init_vty();
@@ -1014,6 +1030,7 @@ control {
execute( TC_sns_sgsn_del() );
execute( TC_sns_sgsn_add_change_del() );
execute( TC_sns_sgsn_size_correct_port() );
+ execute( TC_sns_sgsn_size_after_success() );
}
}
}