public void testRemoteListMapSetListInteger() {/* USE THIS FILE ACCORDING TO THE COPYRIGHT RULES IN LICENSE.TXT WHICH IS PART OF THE SOURCE CODE PACKAGE */ log.info("testRemoteListMapSetListInteger("); ListListTypes obj = new ListListTypes(); List <IDictionary <int, IList <HashSet <int> > > > list = new List <IDictionary <int, IList <HashSet <int> > > >(); for (int i = 0; i < 2; i++) { IDictionary <int, IList <HashSet <int> > > map = new Dictionary <int, IList <HashSet <int> > >(); for (int j = 0; j < 3; j++) { IList <HashSet <int> > list2 = new List <HashSet <int> >(); for (int k = 0; k < 4; k++) { HashSet <int> set = new HashSet <int>(); list2.Add(set); for (int n = 0; n < 5; n++) { int pt = n * k * j * i; set.Add(pt); } } map[j] = list2; } list.Add(map); } obj.Int3 = list; remote.SetInt4(obj.Int3); TestUtils.assertEquals(log, "int4", obj.Int3, remote.GetInt4()); log.info(")testRemoteListMapSetListint"); }
public void testRemoteListListint() { log.info("testRemoteListListint("); ListListTypes obj = new ListListTypes(); List <IList <int> > list = new List <IList <int> >(); for (int i = 0; i < 3; i++) { List <int> itemList = new List <int>(); for (int j = 0; j < i + 1; j++) { itemList.Add(j); } } obj.Int2 = list; remote.SetInt3(obj.Int2); TestUtils.assertEquals(log, "int3", obj.Int2, remote.GetInt3()); log.info(")testRemoteListListint"); }