@@ -145,6 +145,19 @@ public void testListTypeFieldsClass() throws Exception {
145145 v .f5 .add (ByteBuffer .wrap ("e1" .getBytes ()));
146146 v .f5 .add (ByteBuffer .wrap ("e2" .getBytes ()));
147147 v .f5 .add (ByteBuffer .wrap ("e3" .getBytes ()));
148+ v .f6 = new ArrayList <int []>();
149+ v .f6 .add (new int [] { 1 , 2 , 3 });
150+ v .f6 .add (new int [] { 3 , 3 , 3 });
151+ v .f7 = new ArrayList <String []>();
152+ v .f7 .add (new String [] { "muga" , "nishizawa" , "fryusuki" });
153+ v .f8 = new ArrayList <ListTypeFieldsClass .NestedClass []>();
154+ ListTypeFieldsClass .NestedClass nested01 = new ListTypeFieldsClass .NestedClass ();
155+ nested01 .f0 = new byte [] { 0x01 , 0x02 };
156+ nested01 .f1 = "muga" ;
157+ ListTypeFieldsClass .NestedClass nested02 = new ListTypeFieldsClass .NestedClass ();
158+ nested02 .f0 = new byte [] { 0x01 , 0x02 };
159+ nested02 .f1 = "muga" ;
160+ v .f8 .add (new ListTypeFieldsClass .NestedClass [] { nested01 , nested02 });
148161 testListTypeFieldsClass (v );
149162 }
150163
@@ -180,6 +193,19 @@ public void testListTypeFieldsClassNotNullable() throws Exception {
180193 v .f5 .add (ByteBuffer .wrap ("e1" .getBytes ()));
181194 v .f5 .add (ByteBuffer .wrap ("e2" .getBytes ()));
182195 v .f5 .add (ByteBuffer .wrap ("e3" .getBytes ()));
196+ v .f6 = new ArrayList <int []>();
197+ v .f6 .add (new int [] { 1 , 2 , 3 });
198+ v .f6 .add (new int [] { 3 , 3 , 3 });
199+ v .f7 = new ArrayList <String []>();
200+ v .f7 .add (new String [] { "muga" , "nishizawa" , "fryusuki" });
201+ v .f8 = new ArrayList <ListTypeFieldsClassNotNullable .NestedClass []>();
202+ ListTypeFieldsClassNotNullable .NestedClass nested01 = new ListTypeFieldsClassNotNullable .NestedClass ();
203+ nested01 .f0 = new byte [] { 0x01 , 0x02 };
204+ nested01 .f1 = "muga" ;
205+ ListTypeFieldsClassNotNullable .NestedClass nested02 = new ListTypeFieldsClassNotNullable .NestedClass ();
206+ nested02 .f0 = new byte [] { 0x01 , 0x02 };
207+ nested02 .f1 = "muga" ;
208+ v .f8 .add (new ListTypeFieldsClassNotNullable .NestedClass [] { nested01 , nested02 });
183209 testListTypeFieldsClassNotNullable (v );
184210 }
185211
@@ -200,9 +226,19 @@ public void testMapTypeFieldsClass() throws Exception {
200226 v .f2 .put ("k2" , 2 );
201227 v .f2 .put ("k3" , 3 );
202228 v .f3 = new HashMap <String , MapTypeFieldsClass .NestedClass >();
203- MapTypeFieldsClass .NestedClass nested = new MapTypeFieldsClass .NestedClass ();
204- nested .f0 = "muga" ;
205- v .f3 .put ("muga" , nested );
229+ MapTypeFieldsClass .NestedClass nested01 = new MapTypeFieldsClass .NestedClass ();
230+ nested01 .f0 = "muga" ;
231+ v .f3 .put ("muga" , nested01 );
232+ v .f4 = new HashMap <String , int []>();
233+ v .f4 .put ("nishizawa" , new int [] { 1 , 2 , 3 });
234+ v .f4 .put ("fryusuki" , new int [] { 3 , 3 , 3 });
235+ v .f5 = new HashMap <String , String []>();
236+ v .f5 .put ("muga" , new String [] { "f1" , "f2" , "f3" });
237+ v .f5 .put ("nishizawa" , new String [] { "f3" , "f2" , "f1" });
238+ v .f6 = new HashMap <String , MapTypeFieldsClass .NestedClass []>();
239+ MapTypeFieldsClass .NestedClass nested02 = new MapTypeFieldsClass .NestedClass ();
240+ nested02 .f0 = "nishizawa" ;
241+ v .f6 .put ("muga" , new MapTypeFieldsClass .NestedClass [] { nested02 });
206242 testMapTypeFieldsClass (v );
207243 }
208244
@@ -231,6 +267,16 @@ public void testMapTypeFieldsClassNotNullable() throws Exception {
231267 MapTypeFieldsClassNotNullable .NestedClass nested = new MapTypeFieldsClassNotNullable .NestedClass ();
232268 nested .f0 = "muga" ;
233269 v .f3 .put ("muga" , nested );
270+ v .f4 = new HashMap <String , int []>();
271+ v .f4 .put ("nishizawa" , new int [] { 1 , 2 , 3 });
272+ v .f4 .put ("fryusuki" , new int [] { 3 , 3 , 3 });
273+ v .f5 = new HashMap <String , String []>();
274+ v .f5 .put ("muga" , new String [] { "f1" , "f2" , "f3" });
275+ v .f5 .put ("nishizawa" , new String [] { "f3" , "f2" , "f1" });
276+ v .f6 = new HashMap <String , MapTypeFieldsClassNotNullable .NestedClass []>();
277+ MapTypeFieldsClassNotNullable .NestedClass nested02 = new MapTypeFieldsClassNotNullable .NestedClass ();
278+ nested02 .f0 = "nishizawa" ;
279+ v .f6 .put ("muga" , new MapTypeFieldsClassNotNullable .NestedClass [] { nested02 });
234280 testMapTypeFieldsClassNotNullable (v );
235281 }
236282
0 commit comments