msc: generate mobile identity inside f_establish_fully()
This reduces the code duplication in every caller of the function.
Change-Id: Iaa071b131a8ff372d70677c8622d227f88e9ea53
diff --git a/msc/MSC_Tests.ttcn b/msc/MSC_Tests.ttcn
index 6ec08bb..503f98b 100644
--- a/msc/MSC_Tests.ttcn
+++ b/msc/MSC_Tests.ttcn
@@ -1137,7 +1137,7 @@
f_perform_lu();
- f_establish_fully(valueof(ts_MI_IMSI_LV(g_pars.imsi)));
+ f_establish_fully();
f_expect_clear();
}
testcase TC_establish_and_nothing() runs on MTC_CT {
@@ -1156,7 +1156,7 @@
f_perform_lu();
- f_establish_fully(valueof(ts_MI_IMSI_LV(g_pars.imsi)));
+ f_establish_fully();
f_create_mncc_expect(hex2str(cpars.called_party));
f_create_mgcp_expect(ExpectCriteria:{omit,omit,omit});
@@ -1181,7 +1181,7 @@
f_perform_lu();
- f_establish_fully(valueof(ts_MI_IMSI_LV(g_pars.imsi)));
+ f_establish_fully();
f_create_mncc_expect(hex2str(cpars.called_party));
f_create_mgcp_expect(ExpectCriteria:{omit,omit,omit});
@@ -1220,7 +1220,7 @@
f_perform_lu();
- f_establish_fully(valueof(ts_MI_IMSI_LV(g_pars.imsi)));
+ f_establish_fully();
f_create_mncc_expect(hex2str(cpars.called_party));
f_create_mgcp_expect(ExpectCriteria:{omit,omit,omit});
@@ -1312,7 +1312,7 @@
/* MSC->BSC: expect PAGING from MSC */
BSSAP.receive(tr_BSSMAP_Paging(g_pars.imsi));
/* MS -> MSC: PAGING RESPONSE */
- f_establish_fully(valueof(ts_MI_IMSI_LV(g_pars.imsi)), EST_TYPE_PAG_RESP);
+ f_establish_fully(EST_TYPE_PAG_RESP);
f_create_mgcp_expect(ExpectCriteria:{omit,omit,omit});
@@ -1737,7 +1737,7 @@
f_perform_lu();
- f_establish_fully(valueof(ts_MI_IMSI_LV(g_pars.imsi)));
+ f_establish_fully();
f_create_mncc_expect(hex2str(cpars.called_party));
f_create_mgcp_expect(ExpectCriteria:{omit,omit,omit});