summaryrefslogtreecommitdiffstats
path: root/msc
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2018-06-19 17:51:20 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2018-06-21 22:06:45 +0700
commit2a978b9fd8e90e23523b22dfac94047f361d1211 (patch)
treed5fee4928b066093cfc7e548414bffc31d651079 /msc
parentda5a405d9f51a1e5867224e4395383d41e684852 (diff)
msc/USSD: use more informative names for test cases
Let's explicitly indicate is a SS/USSD message MO or MT. Change-Id: I87f16f935f015dbd2ac2867d8ea5e155cc365e3f
Diffstat (limited to 'msc')
-rw-r--r--msc/MSC_Tests.ttcn19
-rw-r--r--msc/expected-results.xml4
2 files changed, 12 insertions, 11 deletions
diff --git a/msc/MSC_Tests.ttcn b/msc/MSC_Tests.ttcn
index ce95ff5..dc5303e 100644
--- a/msc/MSC_Tests.ttcn
+++ b/msc/MSC_Tests.ttcn
@@ -2109,7 +2109,8 @@ testcase TC_smpp_mt_sms() runs on MTC_CT {
* USSD Testing
***********************************************************************/
-private function f_tc_lu_and_ussd_single_req(charstring id, BSC_ConnHdlrPars pars)
+/* LU followed by MO USSD request */
+private function f_tc_lu_and_mo_ussd_single_request(charstring id, BSC_ConnHdlrPars pars)
runs on BSC_ConnHdlr {
f_init_handler(pars);
@@ -2156,15 +2157,15 @@ runs on BSC_ConnHdlr {
f_expect_clear();
}
-testcase TC_lu_and_ussd_single_req() runs on MTC_CT {
+testcase TC_lu_and_mo_ussd_single_request() runs on MTC_CT {
var BSC_ConnHdlr vc_conn;
f_init();
- vc_conn := f_start_handler(refers(f_tc_lu_and_ussd_single_req), 46);
+ vc_conn := f_start_handler(refers(f_tc_lu_and_mo_ussd_single_request), 46);
vc_conn.done;
}
-/* LU followed by MT call and USSD request during this call */
-private function f_tc_lu_and_ussd_during_call(charstring id, BSC_ConnHdlrPars pars)
+/* LU followed by MT call and MO USSD request during this call */
+private function f_tc_lu_and_mo_ussd_during_mt_call(charstring id, BSC_ConnHdlrPars pars)
runs on BSC_ConnHdlr {
f_init_handler(pars);
@@ -2223,10 +2224,10 @@ runs on BSC_ConnHdlr {
/* Release the call (does Clear Complete itself) */
f_call_hangup(cpars, true);
}
-testcase TC_lu_and_ussd_during_call() runs on MTC_CT {
+testcase TC_lu_and_mo_ussd_during_mt_call() runs on MTC_CT {
var BSC_ConnHdlr vc_conn;
f_init();
- vc_conn := f_start_handler(refers(f_tc_lu_and_ussd_during_call), 48);
+ vc_conn := f_start_handler(refers(f_tc_lu_and_mo_ussd_during_mt_call), 48);
vc_conn.done;
}
@@ -2311,8 +2312,8 @@ control {
execute( TC_smpp_mo_sms() );
execute( TC_smpp_mt_sms() );
- execute( TC_lu_and_ussd_single_req() );
- execute( TC_lu_and_ussd_during_call() );
+ execute( TC_lu_and_mo_ussd_single_request() );
+ execute( TC_lu_and_mo_ussd_during_mt_call() );
/* Run this last: at the time of writing this test crashes the MSC */
execute( TC_lu_imsi_auth_tmsi_encr_3_1_log_msc_debug() );
diff --git a/msc/expected-results.xml b/msc/expected-results.xml
index 8beab26..9595f17 100644
--- a/msc/expected-results.xml
+++ b/msc/expected-results.xml
@@ -71,6 +71,6 @@
<testcase classname='MSC_Tests' name='TC_smpp_mo_sms' time='MASKED'/>
<testcase classname='MSC_Tests' name='TC_smpp_mt_sms' time='MASKED'/>
<testcase classname='MSC_Tests' name='TC_lu_imsi_auth_tmsi_encr_3_1_log_msc_debug' time='MASKED'/>
- <testcase classname='MSC_Tests' name='TC_lu_and_ussd_single_req' time='MASKED'/>
- <testcase classname='MSC_Tests' name='TC_lu_and_ussd_during_call' time='MASKED'/>
+ <testcase classname='MSC_Tests' name='TC_lu_and_mo_ussd_single_request' time='MASKED'/>
+ <testcase classname='MSC_Tests' name='TC_lu_and_mo_ussd_during_mt_call' time='MASKED'/>
</testsuite>