BSC_Tests: Implement remaining missing paging tests

We now test all of the cell identification types specified in BSSMAP,
and also lists with a length != 1 entry.

Change-Id: I261f948d6054d0c90078c1dd0b2785a967b0a49b
diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index 528b1c7..467ce4f 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -970,6 +970,7 @@
 }
 
 const BtsIdList c_BtsId_all := { 0, 1, 2 };
+const BtsIdList c_BtsId_none := { };
 const BtsIdList c_BtsId_LAC1 := { 0, 1 };
 const BtsIdList c_BtsId_LAC2 := { 2 };
 
@@ -1077,11 +1078,40 @@
 }
 
 /* Paging by PLMN+LAC+RNC */
-/* Paging by RNC */
-/* Paging by LAC+RNC */
+testcase TC_paging_imsi_nochan_plmn_lac_rnc() runs on test_CT {
+	var template BSSMAP_FIELD_CellIdentificationList cid_list;
+	cid_list := { cIl_PLMN_LAC_RNC := { ts_BSSMAP_CI_PLMN_LAC_RNC(cid.mcc, cid.mnc, cid.lac, 12) } };
+	f_pageing_helper('001010000000012'H, cid_list, c_BtsId_none);
+}
 
-/* Paging on multiple cells (multiple in one LAC): Verify all of them page */
+/* Paging by RNC */
+testcase TC_paging_imsi_nochan_rnc() runs on test_CT {
+	var template BSSMAP_FIELD_CellIdentificationList cid_list;
+	cid_list := { cIl_RNC := { int2oct(13, 2) } };
+	f_pageing_helper('001010000000013'H, cid_list, c_BtsId_none);
+}
+
+/* Paging by LAC+RNC */
+testcase TC_paging_imsi_nochan_lac_rnc() runs on test_CT {
+	var template BSSMAP_FIELD_CellIdentificationList cid_list;
+	cid_list := { cIl_LAC_RNC := { ts_BSSMAP_CI_LAC_RNC(cid.lac, 14) } };
+	f_pageing_helper('001010000000014'H, cid_list, c_BtsId_none);
+}
+
 /* Paging on multiple cells (multiple entries in list): Verify all of them page */
+testcase TC_paging_imsi_nochan_lacs() runs on test_CT {
+	var template BSSMAP_FIELD_CellIdentificationList cid_list;
+	cid_list := { cIl_LAC := { ts_BSSMAP_CI_LAC(1), ts_BSSMAP_CI_LAC(2) } };
+	f_pageing_helper('001010000000015'H, cid_list, c_BtsId_all);
+}
+
+/* Paging on empty list: Verify none of them page */
+testcase TC_paging_imsi_nochan_lacs_empty() runs on test_CT {
+	var template BSSMAP_FIELD_CellIdentificationList cid_list;
+	cid_list := { cIl_LAC := { } };
+	f_pageing_helper('001010000000016'H, cid_list, c_BtsId_none);
+}
+
 /* Verify paging retransmission interval + count */
 /* Verify paging stops after channel establishment */
 /* Test behavior under paging overload */
@@ -1421,6 +1451,11 @@
 	execute( TC_paging_imsi_nochan_lai() );
 	execute( TC_paging_imsi_nochan_lac() );
 	execute( TC_paging_imsi_nochan_all() );
+	execute( TC_paging_imsi_nochan_plmn_lac_rnc() );
+	execute( TC_paging_imsi_nochan_rnc() );
+	execute( TC_paging_imsi_nochan_lac_rnc() );
+	execute( TC_paging_imsi_nochan_lacs() );
+	execute( TC_paging_imsi_nochan_lacs_empty() );
 	execute( TC_paging_imsi_a_reset() );
 	execute( TC_paging_imsi_load() );