Mercurial > hg > Members > sugi > MessagePack-java
comparison src/test/java/org/msgpack/TestMessagePack02.java @ 0:cb825acd883a
first commit
author | sugi |
---|---|
date | Sat, 18 Oct 2014 15:06:15 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:cb825acd883a |
---|---|
1 package org.msgpack; | |
2 | |
3 import static org.junit.Assert.assertEquals; | |
4 | |
5 import java.io.ByteArrayInputStream; | |
6 import java.io.ByteArrayOutputStream; | |
7 | |
8 import org.junit.Test; | |
9 import org.msgpack.testclasses.EnumTypeFieldsClass; | |
10 import org.msgpack.testclasses.EnumTypeFieldsClassNotNullable; | |
11 import org.msgpack.testclasses.IndexedFieldsBeanClass; | |
12 import org.msgpack.testclasses.IndexedFieldsBeanClassNotNullable; | |
13 import org.msgpack.testclasses.InheritanceClass; | |
14 import org.msgpack.testclasses.InheritanceClassNotNullable; | |
15 import org.msgpack.testclasses.ListTypeFieldsClass; | |
16 import org.msgpack.testclasses.ListTypeFieldsClassNotNullable; | |
17 import org.msgpack.testclasses.MapTypeFieldsClass; | |
18 import org.msgpack.testclasses.MapTypeFieldsClassNotNullable; | |
19 import org.msgpack.testclasses.MessagePackableTypeFieldsClass; | |
20 import org.msgpack.testclasses.MessagePackableTypeFieldsClassNotNullable; | |
21 import org.msgpack.testclasses.ModifiersFieldsClass; | |
22 import org.msgpack.testclasses.ModifiersFieldsClassNotNullable; | |
23 import org.msgpack.testclasses.PrimitiveTypeFieldsClass; | |
24 import org.msgpack.testclasses.PrimitiveTypeFieldsClassNotNullable; | |
25 import org.msgpack.testclasses.ReferenceCycleTypeFieldsClass; | |
26 import org.msgpack.testclasses.ReferenceCycleTypeFieldsClassNotNullable; | |
27 import org.msgpack.testclasses.ReferenceTypeFieldsClass; | |
28 import org.msgpack.testclasses.ReferenceTypeFieldsClassNotNullable; | |
29 import org.msgpack.testclasses.UserDefinedTypeFieldsClass; | |
30 import org.msgpack.testclasses.UserDefinedTypeFieldsClassNotNullable; | |
31 import org.msgpack.type.Value; | |
32 | |
33 | |
34 public class TestMessagePack02 { | |
35 | |
36 @Test | |
37 public void testPrimitiveTypeFieldsClassBufferPackBufferUnpack() throws Exception { | |
38 new TestPrimitiveTypeFieldsClassBufferPackBufferUnpack().testPrimitiveTypeFieldsClass(); | |
39 } | |
40 | |
41 @Test | |
42 public void testPrimitiveTypeFieldsClassBufferPackConvert() throws Exception { | |
43 new TestPrimitiveTypeFieldsClassBufferPackConvert().testPrimitiveTypeFieldsClass(); | |
44 } | |
45 | |
46 @Test | |
47 public void testPrimitiveTypeFieldsClassBufferPackUnpack() throws Exception { | |
48 new TestPrimitiveTypeFieldsClassBufferPackUnpack().testPrimitiveTypeFieldsClass(); | |
49 } | |
50 | |
51 @Test | |
52 public void testPrimitiveTypeFieldsClassPackBufferUnpack() throws Exception { | |
53 new TestPrimitiveTypeFieldsClassPackBufferUnpack().testPrimitiveTypeFieldsClass(); | |
54 } | |
55 | |
56 @Test | |
57 public void testPrimitiveTypeFieldsClassPackConvert() throws Exception { | |
58 new TestPrimitiveTypeFieldsClassPackConvert().testPrimitiveTypeFieldsClass(); | |
59 } | |
60 | |
61 @Test | |
62 public void testPrimitiveTypeFieldsClassPackUnpack() throws Exception { | |
63 new TestPrimitiveTypeFieldsClassPackUnpack().testPrimitiveTypeFieldsClass(); | |
64 } | |
65 | |
66 @Test | |
67 public void testPrimitiveTypeFieldsClassUnconvertConvert() throws Exception { | |
68 new TestPrimitiveTypeFieldsClassUnconvertConvert().testPrimitiveTypeFieldsClass(); | |
69 } | |
70 | |
71 @Test | |
72 public void testPrimitiveTypeFieldsClassNotNullableBufferPackBufferUnpack() throws Exception { | |
73 new TestPrimitiveTypeFieldsClassNotNullableBufferPackBufferUnpack().testPrimitiveTypeFieldsClassNotNullable(); | |
74 } | |
75 | |
76 @Test | |
77 public void testPrimitiveTypeFieldsClassNotNullableBufferPackConvert() throws Exception { | |
78 new TestPrimitiveTypeFieldsClassNotNullableBufferPackConvert().testPrimitiveTypeFieldsClassNotNullable(); | |
79 } | |
80 | |
81 @Test | |
82 public void testPrimitiveTypeFieldsClassNotNullableBufferPackUnpack() throws Exception { | |
83 new TestPrimitiveTypeFieldsClassNotNullableBufferPackUnpack().testPrimitiveTypeFieldsClassNotNullable(); | |
84 } | |
85 | |
86 @Test | |
87 public void testPrimitiveTypeFieldsClassNotNullablePackBufferUnpack() throws Exception { | |
88 new TestPrimitiveTypeFieldsClassNotNullablePackBufferUnpack().testPrimitiveTypeFieldsClassNotNullable(); | |
89 } | |
90 | |
91 @Test | |
92 public void testPrimitiveTypeFieldsClassNotNullablePackConvert() throws Exception { | |
93 new TestPrimitiveTypeFieldsClassNotNullablePackConvert().testPrimitiveTypeFieldsClassNotNullable(); | |
94 } | |
95 | |
96 @Test | |
97 public void testPrimitiveTypeFieldsClassNotNullablePackUnpack() throws Exception { | |
98 new TestPrimitiveTypeFieldsClassNotNullablePackUnpack().testPrimitiveTypeFieldsClassNotNullable(); | |
99 } | |
100 | |
101 @Test | |
102 public void testPrimitiveTypeFieldsClassNotNullableUnconvertConvert() throws Exception { | |
103 new TestPrimitiveTypeFieldsClassNotNullableUnconvertConvert().testPrimitiveTypeFieldsClassNotNullable(); | |
104 } | |
105 | |
106 @Test | |
107 public void testReferenceTypeFieldsClassBufferPackBufferUnpack() throws Exception { | |
108 new TestReferenceTypeFieldsClassBufferPackBufferUnpack().testReferenceTypeFieldsClass(); | |
109 } | |
110 | |
111 @Test | |
112 public void testReferenceTypeFieldsClassBufferPackConvert() throws Exception { | |
113 new TestReferenceTypeFieldsClassBufferPackConvert().testReferenceTypeFieldsClass(); | |
114 } | |
115 | |
116 @Test | |
117 public void testReferenceTypeFieldsClassBufferPackUnpack() throws Exception { | |
118 new TestReferenceTypeFieldsClassBufferPackUnpack().testReferenceTypeFieldsClass(); | |
119 } | |
120 | |
121 @Test | |
122 public void testReferenceTypeFieldsClassPackBufferUnpack() throws Exception { | |
123 new TestReferenceTypeFieldsClassPackBufferUnpack().testReferenceTypeFieldsClass(); | |
124 } | |
125 | |
126 @Test | |
127 public void testReferenceTypeFieldsClassPackConvert() throws Exception { | |
128 new TestReferenceTypeFieldsClassPackConvert().testReferenceTypeFieldsClass(); | |
129 } | |
130 | |
131 @Test | |
132 public void testReferenceTypeFieldsClassPackUnpack() throws Exception { | |
133 new TestReferenceTypeFieldsClassPackUnpack().testReferenceTypeFieldsClass(); | |
134 } | |
135 | |
136 @Test | |
137 public void testReferenceTypeFieldsClassUnconvertConvert() throws Exception { | |
138 new TestReferenceTypeFieldsClassUnconvertConvert().testReferenceTypeFieldsClass(); | |
139 } | |
140 | |
141 @Test | |
142 public void testReferenceTypeFieldsClassNotNullableBufferPackBufferUnpack() throws Exception { | |
143 new TestReferenceTypeFieldsClassNotNullableBufferPackBufferUnpack().testReferenceTypeFieldsClassNotNullable(); | |
144 } | |
145 | |
146 @Test | |
147 public void testReferenceTypeFieldsClassNotNullableBufferPackConvert() throws Exception { | |
148 new TestReferenceTypeFieldsClassNotNullableBufferPackConvert().testReferenceTypeFieldsClassNotNullable(); | |
149 } | |
150 | |
151 @Test | |
152 public void testReferenceTypeFieldsClassNotNullableBufferPackUnpack() throws Exception { | |
153 new TestReferenceTypeFieldsClassNotNullableBufferPackUnpack().testReferenceTypeFieldsClassNotNullable(); | |
154 } | |
155 | |
156 @Test | |
157 public void testReferenceTypeFieldsClassNotNullablePackBufferUnpack() throws Exception { | |
158 new TestReferenceTypeFieldsClassNotNullablePackBufferUnpack().testReferenceTypeFieldsClassNotNullable(); | |
159 } | |
160 | |
161 @Test | |
162 public void testReferenceTypeFieldsClassNotNullablePackConvert() throws Exception { | |
163 new TestReferenceTypeFieldsClassNotNullablePackConvert().testReferenceTypeFieldsClassNotNullable(); | |
164 } | |
165 | |
166 @Test | |
167 public void testReferenceTypeFieldsClassNotNullablePackUnpack() throws Exception { | |
168 new TestReferenceTypeFieldsClassNotNullablePackUnpack().testReferenceTypeFieldsClassNotNullable(); | |
169 } | |
170 | |
171 @Test | |
172 public void testReferenceTypeFieldsClassNotNullableUnconvertConvert() throws Exception { | |
173 new TestReferenceTypeFieldsClassNotNullableUnconvertConvert().testReferenceTypeFieldsClassNotNullable(); | |
174 } | |
175 | |
176 @Test | |
177 public void testListTypeFieldsClassBufferPackBufferUnpack() throws Exception { | |
178 new TestListTypeFieldsClassBufferPackBufferUnpack().testListTypeFieldsClass(); | |
179 } | |
180 | |
181 @Test | |
182 public void testListTypeFieldsClassBufferPackConvert() throws Exception { | |
183 new TestListTypeFieldsClassBufferPackConvert().testListTypeFieldsClass(); | |
184 } | |
185 | |
186 @Test | |
187 public void testListTypeFieldsClassBufferPackUnpack() throws Exception { | |
188 new TestListTypeFieldsClassBufferPackUnpack().testListTypeFieldsClass(); | |
189 } | |
190 | |
191 @Test | |
192 public void testListTypeFieldsClassPackBufferUnpack() throws Exception { | |
193 new TestListTypeFieldsClassPackBufferUnpack().testListTypeFieldsClass(); | |
194 } | |
195 | |
196 @Test | |
197 public void testListTypeFieldsClassPackConvert() throws Exception { | |
198 new TestListTypeFieldsClassPackConvert().testListTypeFieldsClass(); | |
199 } | |
200 | |
201 @Test | |
202 public void testListTypeFieldsClassPackUnpack() throws Exception { | |
203 new TestListTypeFieldsClassPackUnpack().testListTypeFieldsClass(); | |
204 } | |
205 | |
206 @Test | |
207 public void testListTypeFieldsClassUnconvertConvert() throws Exception { | |
208 new TestListTypeFieldsClassUnconvertConvert().testListTypeFieldsClass(); | |
209 } | |
210 | |
211 @Test | |
212 public void testListTypeFieldsClassNotNullableBufferPackBufferUnpack() throws Exception { | |
213 new TestListTypeFieldsClassNotNullableBufferPackBufferUnpack().testListTypeFieldsClassNotNullable(); | |
214 } | |
215 | |
216 @Test | |
217 public void testListTypeFieldsClassNotNullableBufferPackConvert() throws Exception { | |
218 new TestListTypeFieldsClassNotNullableBufferPackConvert().testListTypeFieldsClassNotNullable(); | |
219 } | |
220 | |
221 @Test | |
222 public void testListTypeFieldsClassNotNullableBufferPackUnpack() throws Exception { | |
223 new TestListTypeFieldsClassNotNullableBufferPackUnpack().testListTypeFieldsClassNotNullable(); | |
224 } | |
225 | |
226 @Test | |
227 public void testListTypeFieldsClassNotNullablePackBufferUnpack() throws Exception { | |
228 new TestListTypeFieldsClassNotNullablePackBufferUnpack().testListTypeFieldsClassNotNullable(); | |
229 } | |
230 | |
231 @Test | |
232 public void testListTypeFieldsClassNotNullablePackConvert() throws Exception { | |
233 new TestListTypeFieldsClassNotNullablePackConvert().testListTypeFieldsClassNotNullable(); | |
234 } | |
235 | |
236 @Test | |
237 public void testListTypeFieldsClassNotNullablePackUnpack() throws Exception { | |
238 new TestListTypeFieldsClassNotNullablePackUnpack().testListTypeFieldsClassNotNullable(); | |
239 } | |
240 | |
241 @Test | |
242 public void testListTypeFieldsClassNotNullableUnconvertConvert() throws Exception { | |
243 new TestListTypeFieldsClassNotNullableUnconvertConvert().testListTypeFieldsClassNotNullable(); | |
244 } | |
245 | |
246 @Test | |
247 public void testMapTypeFieldsClassBufferPackBufferUnpack() throws Exception { | |
248 new TestMapTypeFieldsClassBufferPackBufferUnpack().testMapTypeFieldsClass(); | |
249 } | |
250 | |
251 @Test | |
252 public void testMapTypeFieldsClassBufferPackConvert() throws Exception { | |
253 new TestMapTypeFieldsClassBufferPackConvert().testMapTypeFieldsClass(); | |
254 } | |
255 | |
256 @Test | |
257 public void testMapTypeFieldsClassBufferPackUnpack() throws Exception { | |
258 new TestMapTypeFieldsClassBufferPackUnpack().testMapTypeFieldsClass(); | |
259 } | |
260 | |
261 @Test | |
262 public void testMapTypeFieldsClassPackBufferUnpack() throws Exception { | |
263 new TestMapTypeFieldsClassPackBufferUnpack().testMapTypeFieldsClass(); | |
264 } | |
265 | |
266 @Test | |
267 public void testMapTypeFieldsClassPackConvert() throws Exception { | |
268 new TestMapTypeFieldsClassPackConvert().testMapTypeFieldsClass(); | |
269 } | |
270 | |
271 @Test | |
272 public void testMapTypeFieldsClassPackUnpack() throws Exception { | |
273 new TestMapTypeFieldsClassPackUnpack().testMapTypeFieldsClass(); | |
274 } | |
275 | |
276 @Test | |
277 public void testMapTypeFieldsClassUnconvertConvert() throws Exception { | |
278 new TestMapTypeFieldsClassUnconvertConvert().testMapTypeFieldsClass(); | |
279 } | |
280 | |
281 @Test | |
282 public void testMapTypeFieldsClassNotNullableBufferPackBufferUnpack() throws Exception { | |
283 new TestMapTypeFieldsClassNotNullableBufferPackBufferUnpack().testMapTypeFieldsClassNotNullable(); | |
284 } | |
285 | |
286 @Test | |
287 public void testMapTypeFieldsClassNotNullableBufferPackConvert() throws Exception { | |
288 new TestMapTypeFieldsClassNotNullableBufferPackConvert().testMapTypeFieldsClassNotNullable(); | |
289 } | |
290 | |
291 @Test | |
292 public void testMapTypeFieldsClassNotNullableBufferPackUnpack() throws Exception { | |
293 new TestMapTypeFieldsClassNotNullableBufferPackUnpack().testMapTypeFieldsClassNotNullable(); | |
294 } | |
295 | |
296 @Test | |
297 public void testMapTypeFieldsClassNotNullablePackBufferUnpack() throws Exception { | |
298 new TestMapTypeFieldsClassNotNullablePackBufferUnpack().testMapTypeFieldsClassNotNullable(); | |
299 } | |
300 | |
301 @Test | |
302 public void testMapTypeFieldsClassNotNullablePackConvert() throws Exception { | |
303 new TestMapTypeFieldsClassNotNullablePackConvert().testMapTypeFieldsClassNotNullable(); | |
304 } | |
305 | |
306 @Test | |
307 public void testMapTypeFieldsClassNotNullablePackUnpack() throws Exception { | |
308 new TestMapTypeFieldsClassNotNullablePackUnpack().testMapTypeFieldsClassNotNullable(); | |
309 } | |
310 | |
311 @Test | |
312 public void testMapTypeFieldsClassNotNullableUnconvertConvert() throws Exception { | |
313 new TestMapTypeFieldsClassNotNullableUnconvertConvert().testMapTypeFieldsClassNotNullable(); | |
314 } | |
315 | |
316 @Test | |
317 public void testEnumTypeFieldsClassBufferPackBufferUnpack() throws Exception { | |
318 new TestEnumTypeFieldsClassBufferPackBufferUnpack().testEnumTypeFieldsClass(); | |
319 } | |
320 | |
321 @Test | |
322 public void testEnumTypeFieldsClassBufferPackConvert() throws Exception { | |
323 new TestEnumTypeFieldsClassBufferPackConvert().testEnumTypeFieldsClass(); | |
324 } | |
325 | |
326 @Test | |
327 public void testEnumTypeFieldsClassBufferPackUnpack() throws Exception { | |
328 new TestEnumTypeFieldsClassBufferPackUnpack().testEnumTypeFieldsClass(); | |
329 } | |
330 | |
331 @Test | |
332 public void testEnumTypeFieldsClassPackBufferUnpack() throws Exception { | |
333 new TestEnumTypeFieldsClassPackBufferUnpack().testEnumTypeFieldsClass(); | |
334 } | |
335 | |
336 @Test | |
337 public void testEnumTypeFieldsClassPackConvert() throws Exception { | |
338 new TestEnumTypeFieldsClassPackConvert().testEnumTypeFieldsClass(); | |
339 } | |
340 | |
341 @Test | |
342 public void testEnumTypeFieldsClassPackUnpack() throws Exception { | |
343 new TestEnumTypeFieldsClassPackUnpack().testEnumTypeFieldsClass(); | |
344 } | |
345 | |
346 @Test | |
347 public void testEnumTypeFieldsClassUnconvertConvert() throws Exception { | |
348 new TestEnumTypeFieldsClassUnconvertConvert().testEnumTypeFieldsClass(); | |
349 } | |
350 | |
351 @Test | |
352 public void testEnumTypeFieldsClassNotNullableBufferPackBufferUnpack() throws Exception { | |
353 new TestEnumTypeFieldsClassNotNullableBufferPackBufferUnpack().testEnumTypeFieldsClassNotNullable(); | |
354 } | |
355 | |
356 @Test | |
357 public void testEnumTypeFieldsClassNotNullableBufferPackConvert() throws Exception { | |
358 new TestEnumTypeFieldsClassNotNullableBufferPackConvert().testEnumTypeFieldsClassNotNullable(); | |
359 } | |
360 | |
361 @Test | |
362 public void testEnumTypeFieldsClassNotNullableBufferPackUnpack() throws Exception { | |
363 new TestEnumTypeFieldsClassNotNullableBufferPackUnpack().testEnumTypeFieldsClassNotNullable(); | |
364 } | |
365 | |
366 @Test | |
367 public void testEnumTypeFieldsClassNotNullablePackBufferUnpack() throws Exception { | |
368 new TestEnumTypeFieldsClassNotNullablePackBufferUnpack().testEnumTypeFieldsClassNotNullable(); | |
369 } | |
370 | |
371 @Test | |
372 public void testEnumTypeFieldsClassNotNullablePackConvert() throws Exception { | |
373 new TestEnumTypeFieldsClassNotNullablePackConvert().testEnumTypeFieldsClassNotNullable(); | |
374 } | |
375 | |
376 @Test | |
377 public void testEnumTypeFieldsClassNotNullablePackUnpack() throws Exception { | |
378 new TestEnumTypeFieldsClassNotNullablePackUnpack().testEnumTypeFieldsClassNotNullable(); | |
379 } | |
380 | |
381 @Test | |
382 public void testEnumTypeFieldsClassNotNullableUnconvertConvert() throws Exception { | |
383 new TestEnumTypeFieldsClassNotNullableUnconvertConvert().testEnumTypeFieldsClassNotNullable(); | |
384 } | |
385 | |
386 @Test | |
387 public void testModifiersFieldsClassBufferPackBufferUnpack() throws Exception { | |
388 new TestModifiersFieldsClassBufferPackBufferUnpack().testModifiersFieldsClass(); | |
389 } | |
390 | |
391 @Test | |
392 public void testModifiersFieldsClassBufferPackConvert() throws Exception { | |
393 new TestModifiersFieldsClassBufferPackConvert().testModifiersFieldsClass(); | |
394 } | |
395 | |
396 @Test | |
397 public void testModifiersFieldsClassBufferPackUnpack() throws Exception { | |
398 new TestModifiersFieldsClassBufferPackUnpack().testModifiersFieldsClass(); | |
399 } | |
400 | |
401 @Test | |
402 public void testModifiersFieldsClassPackBufferUnpack() throws Exception { | |
403 new TestModifiersFieldsClassPackBufferUnpack().testModifiersFieldsClass(); | |
404 } | |
405 | |
406 @Test | |
407 public void testModifiersFieldsClassPackConvert() throws Exception { | |
408 new TestModifiersFieldsClassPackConvert().testModifiersFieldsClass(); | |
409 } | |
410 | |
411 @Test | |
412 public void testModifiersFieldsClassPackUnpack() throws Exception { | |
413 new TestModifiersFieldsClassPackUnpack().testModifiersFieldsClass(); | |
414 } | |
415 | |
416 @Test | |
417 public void testModifiersFieldsClassUnconvertConvert() throws Exception { | |
418 new TestModifiersFieldsClassUnconvertConvert().testModifiersFieldsClass(); | |
419 } | |
420 | |
421 @Test | |
422 public void testModifiersFieldsClassNotNullableBufferPackBufferUnpack() throws Exception { | |
423 new TestModifiersFieldsClassNotNullableBufferPackBufferUnpack().testModifiersFieldsClassNotNullable(); | |
424 } | |
425 | |
426 @Test | |
427 public void testModifiersFieldsClassNotNullableBufferPackConvert() throws Exception { | |
428 new TestModifiersFieldsClassNotNullableBufferPackConvert().testModifiersFieldsClassNotNullable(); | |
429 } | |
430 | |
431 @Test | |
432 public void testModifiersFieldsClassNotNullableBufferPackUnpack() throws Exception { | |
433 new TestModifiersFieldsClassNotNullableBufferPackUnpack().testModifiersFieldsClassNotNullable(); | |
434 } | |
435 | |
436 @Test | |
437 public void testModifiersFieldsClassNotNullablePackBufferUnpack() throws Exception { | |
438 new TestModifiersFieldsClassNotNullablePackBufferUnpack().testModifiersFieldsClassNotNullable(); | |
439 } | |
440 | |
441 @Test | |
442 public void testModifiersFieldsClassNotNullablePackConvert() throws Exception { | |
443 new TestModifiersFieldsClassNotNullablePackConvert().testModifiersFieldsClassNotNullable(); | |
444 } | |
445 | |
446 @Test | |
447 public void testModifiersFieldsClassNotNullablePackUnpack() throws Exception { | |
448 new TestModifiersFieldsClassNotNullablePackUnpack().testModifiersFieldsClassNotNullable(); | |
449 } | |
450 | |
451 @Test | |
452 public void testModifiersFieldsClassNotNullableUnconvertConvert() throws Exception { | |
453 new TestModifiersFieldsClassNotNullableUnconvertConvert().testModifiersFieldsClassNotNullable(); | |
454 } | |
455 | |
456 @Test | |
457 public void testUserDefinedTypeFieldsClassBufferPackBufferUnpack() throws Exception { | |
458 new TestUserDefinedTypeFieldsClassBufferPackBufferUnpack().testUserDefinedTypeFieldsClass(); | |
459 } | |
460 | |
461 @Test | |
462 public void testUserDefinedTypeFieldsClassBufferPackConvert() throws Exception { | |
463 new TestUserDefinedTypeFieldsClassBufferPackConvert().testUserDefinedTypeFieldsClass(); | |
464 } | |
465 | |
466 @Test | |
467 public void testUserDefinedTypeFieldsClassBufferPackUnpack() throws Exception { | |
468 new TestUserDefinedTypeFieldsClassBufferPackUnpack().testUserDefinedTypeFieldsClass(); | |
469 } | |
470 | |
471 @Test | |
472 public void testUserDefinedTypeFieldsClassPackBufferUnpack() throws Exception { | |
473 new TestUserDefinedTypeFieldsClassPackBufferUnpack().testUserDefinedTypeFieldsClass(); | |
474 } | |
475 | |
476 @Test | |
477 public void testUserDefinedTypeFieldsClassPackConvert() throws Exception { | |
478 new TestUserDefinedTypeFieldsClassPackConvert().testUserDefinedTypeFieldsClass(); | |
479 } | |
480 | |
481 @Test | |
482 public void testUserDefinedTypeFieldsClassPackUnpack() throws Exception { | |
483 new TestUserDefinedTypeFieldsClassPackUnpack().testUserDefinedTypeFieldsClass(); | |
484 } | |
485 | |
486 @Test | |
487 public void testUserDefinedTypeFieldsClassUnconvertConvert() throws Exception { | |
488 new TestUserDefinedTypeFieldsClassUnconvertConvert().testUserDefinedTypeFieldsClass(); | |
489 } | |
490 | |
491 @Test | |
492 public void testUserDefinedTypeFieldsClassNotNullableBufferPackBufferUnpack() throws Exception { | |
493 new TestUserDefinedTypeFieldsClassNotNullableBufferPackBufferUnpack().testUserDefinedTypeFieldsClassNotNullable(); | |
494 } | |
495 | |
496 @Test | |
497 public void testUserDefinedTypeFieldsClassNotNullableBufferPackConvert() throws Exception { | |
498 new TestUserDefinedTypeFieldsClassNotNullableBufferPackConvert().testUserDefinedTypeFieldsClassNotNullable(); | |
499 } | |
500 | |
501 @Test | |
502 public void testUserDefinedTypeFieldsClassNotNullableBufferPackUnpack() throws Exception { | |
503 new TestUserDefinedTypeFieldsClassNotNullableBufferPackUnpack().testUserDefinedTypeFieldsClassNotNullable(); | |
504 } | |
505 | |
506 @Test | |
507 public void testUserDefinedTypeFieldsClassNotNullablePackBufferUnpack() throws Exception { | |
508 new TestUserDefinedTypeFieldsClassNotNullablePackBufferUnpack().testUserDefinedTypeFieldsClassNotNullable(); | |
509 } | |
510 | |
511 @Test | |
512 public void testUserDefinedTypeFieldsClassNotNullablePackConvert() throws Exception { | |
513 new TestUserDefinedTypeFieldsClassNotNullablePackConvert().testUserDefinedTypeFieldsClassNotNullable(); | |
514 } | |
515 | |
516 @Test | |
517 public void testUserDefinedTypeFieldsClassNotNullablePackUnpack() throws Exception { | |
518 new TestUserDefinedTypeFieldsClassNotNullablePackUnpack().testUserDefinedTypeFieldsClassNotNullable(); | |
519 } | |
520 | |
521 @Test | |
522 public void testUserDefinedTypeFieldsClassNotNullableUnconvertConvert() throws Exception { | |
523 new TestUserDefinedTypeFieldsClassNotNullableUnconvertConvert().testUserDefinedTypeFieldsClassNotNullable(); | |
524 } | |
525 | |
526 @Test | |
527 public void testReferenceCycleTypeFieldsClassBufferPackBufferUnpack() throws Exception { | |
528 new TestReferenceCycleTypeFieldsClassBufferPackBufferUnpack().testReferenceCycleTypeFieldsClass(); | |
529 } | |
530 | |
531 @Test | |
532 public void testReferenceCycleTypeFieldsClassBufferPackConvert() throws Exception { | |
533 new TestReferenceCycleTypeFieldsClassBufferPackConvert().testReferenceCycleTypeFieldsClass(); | |
534 } | |
535 | |
536 @Test | |
537 public void testReferenceCycleTypeFieldsClassBufferPackUnpack() throws Exception { | |
538 new TestReferenceCycleTypeFieldsClassBufferPackUnpack().testReferenceCycleTypeFieldsClass(); | |
539 } | |
540 | |
541 @Test | |
542 public void testReferenceCycleTypeFieldsClassPackBufferUnpack() throws Exception { | |
543 new TestReferenceCycleTypeFieldsClassPackBufferUnpack().testReferenceCycleTypeFieldsClass(); | |
544 } | |
545 | |
546 @Test | |
547 public void testReferenceCycleTypeFieldsClassPackConvert() throws Exception { | |
548 new TestReferenceCycleTypeFieldsClassPackConvert().testReferenceCycleTypeFieldsClass(); | |
549 } | |
550 | |
551 @Test | |
552 public void testReferenceCycleTypeFieldsClassPackUnpack() throws Exception { | |
553 new TestReferenceCycleTypeFieldsClassPackUnpack().testReferenceCycleTypeFieldsClass(); | |
554 } | |
555 | |
556 @Test | |
557 public void testReferenceCycleTypeFieldsClassUnconvertConvert() throws Exception { | |
558 new TestReferenceCycleTypeFieldsClassUnconvertConvert().testReferenceCycleTypeFieldsClass(); | |
559 } | |
560 | |
561 @Test | |
562 public void testReferenceCycleTypeFieldsClassNotNullableBufferPackBufferUnpack() throws Exception { | |
563 new TestReferenceCycleTypeFieldsClassNotNullableBufferPackBufferUnpack().testReferenceCycleTypeFieldsClassNotNullable(); | |
564 } | |
565 | |
566 @Test | |
567 public void testReferenceCycleTypeFieldsClassNotNullableBufferPackConvert() throws Exception { | |
568 new TestReferenceCycleTypeFieldsClassNotNullableBufferPackConvert().testReferenceCycleTypeFieldsClassNotNullable(); | |
569 } | |
570 | |
571 @Test | |
572 public void testReferenceCycleTypeFieldsClassNotNullableBufferPackUnpack() throws Exception { | |
573 new TestReferenceCycleTypeFieldsClassNotNullableBufferPackUnpack().testReferenceCycleTypeFieldsClassNotNullable(); | |
574 } | |
575 | |
576 @Test | |
577 public void testReferenceCycleTypeFieldsClassNotNullablePackBufferUnpack() throws Exception { | |
578 new TestReferenceCycleTypeFieldsClassNotNullablePackBufferUnpack().testReferenceCycleTypeFieldsClassNotNullable(); | |
579 } | |
580 | |
581 @Test | |
582 public void testReferenceCycleTypeFieldsClassNotNullablePackConvert() throws Exception { | |
583 new TestReferenceCycleTypeFieldsClassNotNullablePackConvert().testReferenceCycleTypeFieldsClassNotNullable(); | |
584 } | |
585 | |
586 @Test | |
587 public void testReferenceCycleTypeFieldsClassNotNullablePackUnpack() throws Exception { | |
588 new TestReferenceCycleTypeFieldsClassNotNullablePackUnpack().testReferenceCycleTypeFieldsClassNotNullable(); | |
589 } | |
590 | |
591 @Test | |
592 public void testReferenceCycleTypeFieldsClassNotNullableUnconvertConvert() throws Exception { | |
593 new TestReferenceCycleTypeFieldsClassNotNullableUnconvertConvert().testReferenceCycleTypeFieldsClassNotNullable(); | |
594 } | |
595 | |
596 @Test | |
597 public void testInheritanceClassBufferPackBufferUnpack() throws Exception { | |
598 new TestInheritanceClassBufferPackBufferUnpack().testInheritanceClass(); | |
599 } | |
600 | |
601 @Test | |
602 public void testInheritanceClassBufferPackConvert() throws Exception { | |
603 new TestInheritanceClassBufferPackConvert().testInheritanceClass(); | |
604 } | |
605 | |
606 @Test | |
607 public void testInheritanceClassBufferPackUnpack() throws Exception { | |
608 new TestInheritanceClassBufferPackUnpack().testInheritanceClass(); | |
609 } | |
610 | |
611 @Test | |
612 public void testInheritanceClassPackBufferUnpack() throws Exception { | |
613 new TestInheritanceClassPackBufferUnpack().testInheritanceClass(); | |
614 } | |
615 | |
616 @Test | |
617 public void testInheritanceClassPackConvert() throws Exception { | |
618 new TestInheritanceClassPackConvert().testInheritanceClass(); | |
619 } | |
620 | |
621 @Test | |
622 public void testInheritanceClassPackUnpack() throws Exception { | |
623 new TestInheritanceClassPackUnpack().testInheritanceClass(); | |
624 } | |
625 | |
626 @Test | |
627 public void testInheritanceClassUnconvertConvert() throws Exception { | |
628 new TestInheritanceClassUnconvertConvert().testInheritanceClass(); | |
629 } | |
630 | |
631 @Test | |
632 public void testInheritanceClassNotNullableBufferPackBufferUnpack() throws Exception { | |
633 new TestInheritanceClassNotNullableBufferPackBufferUnpack().testInheritanceClassNotNullable(); | |
634 } | |
635 | |
636 @Test | |
637 public void testInheritanceClassNotNullableBufferPackConvert() throws Exception { | |
638 new TestInheritanceClassNotNullableBufferPackConvert().testInheritanceClassNotNullable(); | |
639 } | |
640 | |
641 @Test | |
642 public void testInheritanceClassNotNullableBufferPackUnpack() throws Exception { | |
643 new TestInheritanceClassNotNullableBufferPackUnpack().testInheritanceClassNotNullable(); | |
644 } | |
645 | |
646 @Test | |
647 public void testInheritanceClassNotNullablePackBufferUnpack() throws Exception { | |
648 new TestInheritanceClassNotNullablePackBufferUnpack().testInheritanceClassNotNullable(); | |
649 } | |
650 | |
651 @Test | |
652 public void testInheritanceClassNotNullablePackConvert() throws Exception { | |
653 new TestInheritanceClassNotNullablePackConvert().testInheritanceClassNotNullable(); | |
654 } | |
655 | |
656 @Test | |
657 public void testInheritanceClassNotNullablePackUnpack() throws Exception { | |
658 new TestInheritanceClassNotNullablePackUnpack().testInheritanceClassNotNullable(); | |
659 } | |
660 | |
661 @Test | |
662 public void testInheritanceClassNotNullableUnconvertConvert() throws Exception { | |
663 new TestInheritanceClassNotNullableUnconvertConvert().testInheritanceClassNotNullable(); | |
664 } | |
665 | |
666 @Test | |
667 public void testMessagePackableTypeFieldsClassBufferPackBufferUnpack() throws Exception { | |
668 new TestMessagePackableTypeFieldsClassBufferPackBufferUnpack().testMessagePackableTypeFieldsClass(); | |
669 } | |
670 | |
671 @Test | |
672 public void testMessagePackableTypeFieldsClassBufferPackConvert() throws Exception { | |
673 new TestMessagePackableTypeFieldsClassBufferPackConvert().testMessagePackableTypeFieldsClass(); | |
674 } | |
675 | |
676 @Test | |
677 public void testMessagePackableTypeFieldsClassBufferPackUnpack() throws Exception { | |
678 new TestMessagePackableTypeFieldsClassBufferPackUnpack().testMessagePackableTypeFieldsClass(); | |
679 } | |
680 | |
681 @Test | |
682 public void testMessagePackableTypeFieldsClassPackBufferUnpack() throws Exception { | |
683 new TestMessagePackableTypeFieldsClassPackBufferUnpack().testMessagePackableTypeFieldsClass(); | |
684 } | |
685 | |
686 @Test | |
687 public void testMessagePackableTypeFieldsClassPackConvert() throws Exception { | |
688 new TestMessagePackableTypeFieldsClassPackConvert().testMessagePackableTypeFieldsClass(); | |
689 } | |
690 | |
691 @Test | |
692 public void testMessagePackableTypeFieldsClassPackUnpack() throws Exception { | |
693 new TestMessagePackableTypeFieldsClassPackUnpack().testMessagePackableTypeFieldsClass(); | |
694 } | |
695 | |
696 @Test | |
697 public void testMessagePackableTypeFieldsClassUnconvertConvert() throws Exception { | |
698 new TestMessagePackableTypeFieldsClassUnconvertConvert().testMessagePackableTypeFieldsClass(); | |
699 } | |
700 | |
701 @Test | |
702 public void testMessagePackableTypeFieldsClassNotNullableBufferPackBufferUnpack() throws Exception { | |
703 new TestMessagePackableTypeFieldsClassNotNullableBufferPackBufferUnpack().testMessagePackableTypeFieldsClassNotNullable(); | |
704 } | |
705 | |
706 @Test | |
707 public void testMessagePackableTypeFieldsClassNotNullableBufferPackConvert() throws Exception { | |
708 new TestMessagePackableTypeFieldsClassNotNullableBufferPackConvert().testMessagePackableTypeFieldsClassNotNullable(); | |
709 } | |
710 | |
711 @Test | |
712 public void testMessagePackableTypeFieldsClassNotNullableBufferPackUnpack() throws Exception { | |
713 new TestMessagePackableTypeFieldsClassNotNullableBufferPackUnpack().testMessagePackableTypeFieldsClassNotNullable(); | |
714 } | |
715 | |
716 @Test | |
717 public void testMessagePackableTypeFieldsClassNotNullablePackBufferUnpack() throws Exception { | |
718 new TestMessagePackableTypeFieldsClassNotNullablePackBufferUnpack().testMessagePackableTypeFieldsClassNotNullable(); | |
719 } | |
720 | |
721 @Test | |
722 public void testMessagePackableTypeFieldsClassNotNullablePackConvert() throws Exception { | |
723 new TestMessagePackableTypeFieldsClassNotNullablePackConvert().testMessagePackableTypeFieldsClassNotNullable(); | |
724 } | |
725 | |
726 @Test | |
727 public void testMessagePackableTypeFieldsClassNotNullablePackUnpack() throws Exception { | |
728 new TestMessagePackableTypeFieldsClassNotNullablePackUnpack().testMessagePackableTypeFieldsClassNotNullable(); | |
729 } | |
730 | |
731 @Test | |
732 public void testMessagePackableTypeFieldsClassNotNullableUnconvertConvert() throws Exception { | |
733 new TestMessagePackableTypeFieldsClassNotNullableUnconvertConvert().testMessagePackableTypeFieldsClassNotNullable(); | |
734 } | |
735 | |
736 public static class TestPrimitiveTypeFieldsClassBufferPackBufferUnpack extends org.msgpack.template.builder.TestSet { | |
737 @Test @Override | |
738 public void testPrimitiveTypeFieldsClass() throws Exception { | |
739 super.testPrimitiveTypeFieldsClass(); | |
740 } | |
741 | |
742 @Override | |
743 public void testPrimitiveTypeFieldsClass(PrimitiveTypeFieldsClass v) throws Exception { | |
744 MessagePack msgpack = new MessagePack(); | |
745 byte[] bytes = msgpack.write(v); | |
746 PrimitiveTypeFieldsClass ret = msgpack.read(bytes, PrimitiveTypeFieldsClass.class); | |
747 assertEquals(v, ret); | |
748 } | |
749 } | |
750 | |
751 public static class TestPrimitiveTypeFieldsClassBufferPackConvert extends org.msgpack.template.builder.TestSet { | |
752 @Test @Override | |
753 public void testPrimitiveTypeFieldsClass() throws Exception { | |
754 super.testPrimitiveTypeFieldsClass(); | |
755 } | |
756 | |
757 @Override | |
758 public void testPrimitiveTypeFieldsClass(PrimitiveTypeFieldsClass v) throws Exception { | |
759 MessagePack msgpack = new MessagePack(); | |
760 byte[] bytes = msgpack.write(v); | |
761 Value value = msgpack.read(bytes); | |
762 PrimitiveTypeFieldsClass ret = msgpack.convert(value, PrimitiveTypeFieldsClass.class); | |
763 assertEquals(v, ret); | |
764 } | |
765 } | |
766 | |
767 public static class TestPrimitiveTypeFieldsClassBufferPackUnpack extends org.msgpack.template.builder.TestSet { | |
768 @Test @Override | |
769 public void testPrimitiveTypeFieldsClass() throws Exception { | |
770 super.testPrimitiveTypeFieldsClass(); | |
771 } | |
772 | |
773 @Override | |
774 public void testPrimitiveTypeFieldsClass(PrimitiveTypeFieldsClass v) throws Exception { | |
775 MessagePack msgpack = new MessagePack(); | |
776 byte[] bytes = msgpack.write(v); | |
777 ByteArrayInputStream in = new ByteArrayInputStream(bytes); | |
778 PrimitiveTypeFieldsClass ret = msgpack.read(in, PrimitiveTypeFieldsClass.class); | |
779 assertEquals(v, ret); | |
780 } | |
781 } | |
782 | |
783 public static class TestPrimitiveTypeFieldsClassPackBufferUnpack extends org.msgpack.template.builder.TestSet { | |
784 @Test @Override | |
785 public void testPrimitiveTypeFieldsClass() throws Exception { | |
786 super.testPrimitiveTypeFieldsClass(); | |
787 } | |
788 | |
789 @Override | |
790 public void testPrimitiveTypeFieldsClass(PrimitiveTypeFieldsClass v) throws Exception { | |
791 MessagePack msgpack = new MessagePack(); | |
792 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
793 msgpack.write(out, v); | |
794 byte[] bytes = out.toByteArray(); | |
795 PrimitiveTypeFieldsClass ret = msgpack.read(bytes, PrimitiveTypeFieldsClass.class); | |
796 assertEquals(v, ret); | |
797 } | |
798 } | |
799 | |
800 public static class TestPrimitiveTypeFieldsClassPackConvert extends org.msgpack.template.builder.TestSet { | |
801 @Test @Override | |
802 public void testPrimitiveTypeFieldsClass() throws Exception { | |
803 super.testPrimitiveTypeFieldsClass(); | |
804 } | |
805 | |
806 @Override | |
807 public void testPrimitiveTypeFieldsClass(PrimitiveTypeFieldsClass v) throws Exception { | |
808 MessagePack msgpack = new MessagePack(); | |
809 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
810 msgpack.write(out, v); | |
811 byte[] bytes = out.toByteArray(); | |
812 Value value = msgpack.read(bytes); | |
813 PrimitiveTypeFieldsClass ret = msgpack.convert(value, PrimitiveTypeFieldsClass.class); | |
814 assertEquals(v, ret); | |
815 } | |
816 } | |
817 | |
818 public static class TestPrimitiveTypeFieldsClassPackUnpack extends org.msgpack.template.builder.TestSet { | |
819 @Test @Override | |
820 public void testPrimitiveTypeFieldsClass() throws Exception { | |
821 super.testPrimitiveTypeFieldsClass(); | |
822 } | |
823 | |
824 @Override | |
825 public void testPrimitiveTypeFieldsClass(PrimitiveTypeFieldsClass v) throws Exception { | |
826 MessagePack msgpack = new MessagePack(); | |
827 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
828 msgpack.write(out, v); | |
829 ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray()); | |
830 PrimitiveTypeFieldsClass ret = msgpack.read(in, PrimitiveTypeFieldsClass.class); | |
831 assertEquals(v, ret); | |
832 } | |
833 } | |
834 | |
835 public static class TestPrimitiveTypeFieldsClassUnconvertConvert extends org.msgpack.template.builder.TestSet { | |
836 @Test @Override | |
837 public void testPrimitiveTypeFieldsClass() throws Exception { | |
838 super.testPrimitiveTypeFieldsClass(); | |
839 } | |
840 | |
841 @Override | |
842 public void testPrimitiveTypeFieldsClass(PrimitiveTypeFieldsClass v) throws Exception { | |
843 MessagePack msgpack = new MessagePack(); | |
844 Value value = msgpack.unconvert(v); | |
845 PrimitiveTypeFieldsClass ret = msgpack.convert(value, PrimitiveTypeFieldsClass.class); | |
846 assertEquals(v, ret); | |
847 } | |
848 } | |
849 | |
850 public static class TestPrimitiveTypeFieldsClassNotNullableBufferPackBufferUnpack extends org.msgpack.template.builder.TestSet { | |
851 @Test @Override | |
852 public void testPrimitiveTypeFieldsClassNotNullable() throws Exception { | |
853 super.testPrimitiveTypeFieldsClassNotNullable(); | |
854 } | |
855 | |
856 @Override | |
857 public void testPrimitiveTypeFieldsClassNotNullable(PrimitiveTypeFieldsClassNotNullable v) throws Exception { | |
858 MessagePack msgpack = new MessagePack(); | |
859 byte[] bytes = msgpack.write(v); | |
860 PrimitiveTypeFieldsClassNotNullable ret = msgpack.read(bytes, PrimitiveTypeFieldsClassNotNullable.class); | |
861 assertEquals(v, ret); | |
862 } | |
863 } | |
864 | |
865 public static class TestPrimitiveTypeFieldsClassNotNullableBufferPackConvert extends org.msgpack.template.builder.TestSet { | |
866 @Test @Override | |
867 public void testPrimitiveTypeFieldsClassNotNullable() throws Exception { | |
868 super.testPrimitiveTypeFieldsClassNotNullable(); | |
869 } | |
870 | |
871 @Override | |
872 public void testPrimitiveTypeFieldsClassNotNullable(PrimitiveTypeFieldsClassNotNullable v) throws Exception { | |
873 MessagePack msgpack = new MessagePack(); | |
874 byte[] bytes = msgpack.write(v); | |
875 Value value = msgpack.read(bytes); | |
876 PrimitiveTypeFieldsClassNotNullable ret = msgpack.convert(value, PrimitiveTypeFieldsClassNotNullable.class); | |
877 assertEquals(v, ret); | |
878 } | |
879 } | |
880 | |
881 public static class TestPrimitiveTypeFieldsClassNotNullableBufferPackUnpack extends org.msgpack.template.builder.TestSet { | |
882 @Test @Override | |
883 public void testPrimitiveTypeFieldsClassNotNullable() throws Exception { | |
884 super.testPrimitiveTypeFieldsClassNotNullable(); | |
885 } | |
886 | |
887 @Override | |
888 public void testPrimitiveTypeFieldsClassNotNullable(PrimitiveTypeFieldsClassNotNullable v) throws Exception { | |
889 MessagePack msgpack = new MessagePack(); | |
890 byte[] bytes = msgpack.write(v); | |
891 ByteArrayInputStream in = new ByteArrayInputStream(bytes); | |
892 PrimitiveTypeFieldsClassNotNullable ret = msgpack.read(in, PrimitiveTypeFieldsClassNotNullable.class); | |
893 assertEquals(v, ret); | |
894 } | |
895 } | |
896 | |
897 public static class TestPrimitiveTypeFieldsClassNotNullablePackBufferUnpack extends org.msgpack.template.builder.TestSet { | |
898 @Test @Override | |
899 public void testPrimitiveTypeFieldsClassNotNullable() throws Exception { | |
900 super.testPrimitiveTypeFieldsClassNotNullable(); | |
901 } | |
902 | |
903 @Override | |
904 public void testPrimitiveTypeFieldsClassNotNullable(PrimitiveTypeFieldsClassNotNullable v) throws Exception { | |
905 MessagePack msgpack = new MessagePack(); | |
906 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
907 msgpack.write(out, v); | |
908 byte[] bytes = out.toByteArray(); | |
909 PrimitiveTypeFieldsClassNotNullable ret = msgpack.read(bytes, PrimitiveTypeFieldsClassNotNullable.class); | |
910 assertEquals(v, ret); | |
911 } | |
912 } | |
913 | |
914 public static class TestPrimitiveTypeFieldsClassNotNullablePackConvert extends org.msgpack.template.builder.TestSet { | |
915 @Test @Override | |
916 public void testPrimitiveTypeFieldsClassNotNullable() throws Exception { | |
917 super.testPrimitiveTypeFieldsClassNotNullable(); | |
918 } | |
919 | |
920 @Override | |
921 public void testPrimitiveTypeFieldsClassNotNullable(PrimitiveTypeFieldsClassNotNullable v) throws Exception { | |
922 MessagePack msgpack = new MessagePack(); | |
923 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
924 msgpack.write(out, v); | |
925 byte[] bytes = out.toByteArray(); | |
926 Value value = msgpack.read(bytes); | |
927 PrimitiveTypeFieldsClassNotNullable ret = msgpack.convert(value, PrimitiveTypeFieldsClassNotNullable.class); | |
928 assertEquals(v, ret); | |
929 } | |
930 } | |
931 | |
932 public static class TestPrimitiveTypeFieldsClassNotNullablePackUnpack extends org.msgpack.template.builder.TestSet { | |
933 @Test @Override | |
934 public void testPrimitiveTypeFieldsClassNotNullable() throws Exception { | |
935 super.testPrimitiveTypeFieldsClassNotNullable(); | |
936 } | |
937 | |
938 @Override | |
939 public void testPrimitiveTypeFieldsClassNotNullable(PrimitiveTypeFieldsClassNotNullable v) throws Exception { | |
940 MessagePack msgpack = new MessagePack(); | |
941 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
942 msgpack.write(out, v); | |
943 ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray()); | |
944 PrimitiveTypeFieldsClassNotNullable ret = msgpack.read(in, PrimitiveTypeFieldsClassNotNullable.class); | |
945 assertEquals(v, ret); | |
946 } | |
947 } | |
948 | |
949 public static class TestPrimitiveTypeFieldsClassNotNullableUnconvertConvert extends org.msgpack.template.builder.TestSet { | |
950 @Test @Override | |
951 public void testPrimitiveTypeFieldsClassNotNullable() throws Exception { | |
952 super.testPrimitiveTypeFieldsClassNotNullable(); | |
953 } | |
954 | |
955 @Override | |
956 public void testPrimitiveTypeFieldsClassNotNullable(PrimitiveTypeFieldsClassNotNullable v) throws Exception { | |
957 MessagePack msgpack = new MessagePack(); | |
958 Value value = msgpack.unconvert(v); | |
959 PrimitiveTypeFieldsClassNotNullable ret = msgpack.convert(value, PrimitiveTypeFieldsClassNotNullable.class); | |
960 assertEquals(v, ret); | |
961 } | |
962 } | |
963 | |
964 public static class TestReferenceTypeFieldsClassBufferPackBufferUnpack extends org.msgpack.template.builder.TestSet { | |
965 @Test @Override | |
966 public void testReferenceTypeFieldsClass() throws Exception { | |
967 super.testReferenceTypeFieldsClass(); | |
968 } | |
969 | |
970 @Override | |
971 public void testReferenceTypeFieldsClass(ReferenceTypeFieldsClass v) throws Exception { | |
972 MessagePack msgpack = new MessagePack(); | |
973 byte[] bytes = msgpack.write(v); | |
974 ReferenceTypeFieldsClass ret = msgpack.read(bytes, ReferenceTypeFieldsClass.class); | |
975 assertEquals(v, ret); | |
976 } | |
977 } | |
978 | |
979 public static class TestReferenceTypeFieldsClassBufferPackConvert extends org.msgpack.template.builder.TestSet { | |
980 @Test @Override | |
981 public void testReferenceTypeFieldsClass() throws Exception { | |
982 super.testReferenceTypeFieldsClass(); | |
983 } | |
984 | |
985 @Override | |
986 public void testReferenceTypeFieldsClass(ReferenceTypeFieldsClass v) throws Exception { | |
987 MessagePack msgpack = new MessagePack(); | |
988 byte[] bytes = msgpack.write(v); | |
989 Value value = msgpack.read(bytes); | |
990 ReferenceTypeFieldsClass ret = msgpack.convert(value, ReferenceTypeFieldsClass.class); | |
991 assertEquals(v, ret); | |
992 } | |
993 } | |
994 | |
995 public static class TestReferenceTypeFieldsClassBufferPackUnpack extends org.msgpack.template.builder.TestSet { | |
996 @Test @Override | |
997 public void testReferenceTypeFieldsClass() throws Exception { | |
998 super.testReferenceTypeFieldsClass(); | |
999 } | |
1000 | |
1001 @Override | |
1002 public void testReferenceTypeFieldsClass(ReferenceTypeFieldsClass v) throws Exception { | |
1003 MessagePack msgpack = new MessagePack(); | |
1004 byte[] bytes = msgpack.write(v); | |
1005 ByteArrayInputStream in = new ByteArrayInputStream(bytes); | |
1006 ReferenceTypeFieldsClass ret = msgpack.read(in, ReferenceTypeFieldsClass.class); | |
1007 assertEquals(v, ret); | |
1008 } | |
1009 } | |
1010 | |
1011 public static class TestReferenceTypeFieldsClassPackBufferUnpack extends org.msgpack.template.builder.TestSet { | |
1012 @Test @Override | |
1013 public void testReferenceTypeFieldsClass() throws Exception { | |
1014 super.testReferenceTypeFieldsClass(); | |
1015 } | |
1016 | |
1017 @Override | |
1018 public void testReferenceTypeFieldsClass(ReferenceTypeFieldsClass v) throws Exception { | |
1019 MessagePack msgpack = new MessagePack(); | |
1020 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
1021 msgpack.write(out, v); | |
1022 byte[] bytes = out.toByteArray(); | |
1023 ReferenceTypeFieldsClass ret = msgpack.read(bytes, ReferenceTypeFieldsClass.class); | |
1024 assertEquals(v, ret); | |
1025 } | |
1026 } | |
1027 | |
1028 public static class TestReferenceTypeFieldsClassPackConvert extends org.msgpack.template.builder.TestSet { | |
1029 @Test @Override | |
1030 public void testReferenceTypeFieldsClass() throws Exception { | |
1031 super.testReferenceTypeFieldsClass(); | |
1032 } | |
1033 | |
1034 @Override | |
1035 public void testReferenceTypeFieldsClass(ReferenceTypeFieldsClass v) throws Exception { | |
1036 MessagePack msgpack = new MessagePack(); | |
1037 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
1038 msgpack.write(out, v); | |
1039 byte[] bytes = out.toByteArray(); | |
1040 Value value = msgpack.read(bytes); | |
1041 ReferenceTypeFieldsClass ret = msgpack.convert(value, ReferenceTypeFieldsClass.class); | |
1042 assertEquals(v, ret); | |
1043 } | |
1044 } | |
1045 | |
1046 public static class TestReferenceTypeFieldsClassPackUnpack extends org.msgpack.template.builder.TestSet { | |
1047 @Test @Override | |
1048 public void testReferenceTypeFieldsClass() throws Exception { | |
1049 super.testReferenceTypeFieldsClass(); | |
1050 } | |
1051 | |
1052 @Override | |
1053 public void testReferenceTypeFieldsClass(ReferenceTypeFieldsClass v) throws Exception { | |
1054 MessagePack msgpack = new MessagePack(); | |
1055 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
1056 msgpack.write(out, v); | |
1057 ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray()); | |
1058 ReferenceTypeFieldsClass ret = msgpack.read(in, ReferenceTypeFieldsClass.class); | |
1059 assertEquals(v, ret); | |
1060 } | |
1061 } | |
1062 | |
1063 public static class TestReferenceTypeFieldsClassUnconvertConvert extends org.msgpack.template.builder.TestSet { | |
1064 @Test @Override | |
1065 public void testReferenceTypeFieldsClass() throws Exception { | |
1066 super.testReferenceTypeFieldsClass(); | |
1067 } | |
1068 | |
1069 @Override | |
1070 public void testReferenceTypeFieldsClass(ReferenceTypeFieldsClass v) throws Exception { | |
1071 MessagePack msgpack = new MessagePack(); | |
1072 Value value = msgpack.unconvert(v); | |
1073 ReferenceTypeFieldsClass ret = msgpack.convert(value, ReferenceTypeFieldsClass.class); | |
1074 assertEquals(v, ret); | |
1075 } | |
1076 } | |
1077 | |
1078 public static class TestReferenceTypeFieldsClassNotNullableBufferPackBufferUnpack extends org.msgpack.template.builder.TestSet { | |
1079 @Test @Override | |
1080 public void testReferenceTypeFieldsClassNotNullable() throws Exception { | |
1081 super.testReferenceTypeFieldsClassNotNullable(); | |
1082 } | |
1083 | |
1084 @Override | |
1085 public void testReferenceTypeFieldsClassNotNullable(ReferenceTypeFieldsClassNotNullable v) throws Exception { | |
1086 MessagePack msgpack = new MessagePack(); | |
1087 byte[] bytes = msgpack.write(v); | |
1088 ReferenceTypeFieldsClassNotNullable ret = msgpack.read(bytes, ReferenceTypeFieldsClassNotNullable.class); | |
1089 assertEquals(v, ret); | |
1090 } | |
1091 } | |
1092 | |
1093 public static class TestReferenceTypeFieldsClassNotNullableBufferPackConvert extends org.msgpack.template.builder.TestSet { | |
1094 @Test @Override | |
1095 public void testReferenceTypeFieldsClassNotNullable() throws Exception { | |
1096 super.testReferenceTypeFieldsClassNotNullable(); | |
1097 } | |
1098 | |
1099 @Override | |
1100 public void testReferenceTypeFieldsClassNotNullable(ReferenceTypeFieldsClassNotNullable v) throws Exception { | |
1101 MessagePack msgpack = new MessagePack(); | |
1102 byte[] bytes = msgpack.write(v); | |
1103 Value value = msgpack.read(bytes); | |
1104 ReferenceTypeFieldsClassNotNullable ret = msgpack.convert(value, ReferenceTypeFieldsClassNotNullable.class); | |
1105 assertEquals(v, ret); | |
1106 } | |
1107 } | |
1108 | |
1109 public static class TestReferenceTypeFieldsClassNotNullableBufferPackUnpack extends org.msgpack.template.builder.TestSet { | |
1110 @Test @Override | |
1111 public void testReferenceTypeFieldsClassNotNullable() throws Exception { | |
1112 super.testReferenceTypeFieldsClassNotNullable(); | |
1113 } | |
1114 | |
1115 @Override | |
1116 public void testReferenceTypeFieldsClassNotNullable(ReferenceTypeFieldsClassNotNullable v) throws Exception { | |
1117 MessagePack msgpack = new MessagePack(); | |
1118 byte[] bytes = msgpack.write(v); | |
1119 ByteArrayInputStream in = new ByteArrayInputStream(bytes); | |
1120 ReferenceTypeFieldsClassNotNullable ret = msgpack.read(in, ReferenceTypeFieldsClassNotNullable.class); | |
1121 assertEquals(v, ret); | |
1122 } | |
1123 } | |
1124 | |
1125 public static class TestReferenceTypeFieldsClassNotNullablePackBufferUnpack extends org.msgpack.template.builder.TestSet { | |
1126 @Test @Override | |
1127 public void testReferenceTypeFieldsClassNotNullable() throws Exception { | |
1128 super.testReferenceTypeFieldsClassNotNullable(); | |
1129 } | |
1130 | |
1131 @Override | |
1132 public void testReferenceTypeFieldsClassNotNullable(ReferenceTypeFieldsClassNotNullable v) throws Exception { | |
1133 MessagePack msgpack = new MessagePack(); | |
1134 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
1135 msgpack.write(out, v); | |
1136 byte[] bytes = out.toByteArray(); | |
1137 ReferenceTypeFieldsClassNotNullable ret = msgpack.read(bytes, ReferenceTypeFieldsClassNotNullable.class); | |
1138 assertEquals(v, ret); | |
1139 } | |
1140 } | |
1141 | |
1142 public static class TestReferenceTypeFieldsClassNotNullablePackConvert extends org.msgpack.template.builder.TestSet { | |
1143 @Test @Override | |
1144 public void testReferenceTypeFieldsClassNotNullable() throws Exception { | |
1145 super.testReferenceTypeFieldsClassNotNullable(); | |
1146 } | |
1147 | |
1148 @Override | |
1149 public void testReferenceTypeFieldsClassNotNullable(ReferenceTypeFieldsClassNotNullable v) throws Exception { | |
1150 MessagePack msgpack = new MessagePack(); | |
1151 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
1152 msgpack.write(out, v); | |
1153 byte[] bytes = out.toByteArray(); | |
1154 Value value = msgpack.read(bytes); | |
1155 ReferenceTypeFieldsClassNotNullable ret = msgpack.convert(value, ReferenceTypeFieldsClassNotNullable.class); | |
1156 assertEquals(v, ret); | |
1157 } | |
1158 } | |
1159 | |
1160 public static class TestReferenceTypeFieldsClassNotNullablePackUnpack extends org.msgpack.template.builder.TestSet { | |
1161 @Test @Override | |
1162 public void testReferenceTypeFieldsClassNotNullable() throws Exception { | |
1163 super.testReferenceTypeFieldsClassNotNullable(); | |
1164 } | |
1165 | |
1166 @Override | |
1167 public void testReferenceTypeFieldsClassNotNullable(ReferenceTypeFieldsClassNotNullable v) throws Exception { | |
1168 MessagePack msgpack = new MessagePack(); | |
1169 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
1170 msgpack.write(out, v); | |
1171 ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray()); | |
1172 ReferenceTypeFieldsClassNotNullable ret = msgpack.read(in, ReferenceTypeFieldsClassNotNullable.class); | |
1173 assertEquals(v, ret); | |
1174 } | |
1175 } | |
1176 | |
1177 public static class TestReferenceTypeFieldsClassNotNullableUnconvertConvert extends org.msgpack.template.builder.TestSet { | |
1178 @Test @Override | |
1179 public void testReferenceTypeFieldsClassNotNullable() throws Exception { | |
1180 super.testReferenceTypeFieldsClassNotNullable(); | |
1181 } | |
1182 | |
1183 @Override | |
1184 public void testReferenceTypeFieldsClassNotNullable(ReferenceTypeFieldsClassNotNullable v) throws Exception { | |
1185 MessagePack msgpack = new MessagePack(); | |
1186 Value value = msgpack.unconvert(v); | |
1187 ReferenceTypeFieldsClassNotNullable ret = msgpack.convert(value, ReferenceTypeFieldsClassNotNullable.class); | |
1188 assertEquals(v, ret); | |
1189 } | |
1190 } | |
1191 | |
1192 public static class TestListTypeFieldsClassBufferPackBufferUnpack extends org.msgpack.template.builder.TestSet { | |
1193 @Test @Override | |
1194 public void testListTypeFieldsClass() throws Exception { | |
1195 super.testListTypeFieldsClass(); | |
1196 } | |
1197 | |
1198 @Override | |
1199 public void testListTypeFieldsClass(ListTypeFieldsClass v) throws Exception { | |
1200 MessagePack msgpack = new MessagePack(); | |
1201 byte[] bytes = msgpack.write(v); | |
1202 ListTypeFieldsClass ret = msgpack.read(bytes, ListTypeFieldsClass.class); | |
1203 assertEquals(v, ret); | |
1204 } | |
1205 } | |
1206 | |
1207 public static class TestListTypeFieldsClassBufferPackConvert extends org.msgpack.template.builder.TestSet { | |
1208 @Test @Override | |
1209 public void testListTypeFieldsClass() throws Exception { | |
1210 super.testListTypeFieldsClass(); | |
1211 } | |
1212 | |
1213 @Override | |
1214 public void testListTypeFieldsClass(ListTypeFieldsClass v) throws Exception { | |
1215 MessagePack msgpack = new MessagePack(); | |
1216 byte[] bytes = msgpack.write(v); | |
1217 Value value = msgpack.read(bytes); | |
1218 ListTypeFieldsClass ret = msgpack.convert(value, ListTypeFieldsClass.class); | |
1219 assertEquals(v, ret); | |
1220 } | |
1221 } | |
1222 | |
1223 public static class TestListTypeFieldsClassBufferPackUnpack extends org.msgpack.template.builder.TestSet { | |
1224 @Test @Override | |
1225 public void testListTypeFieldsClass() throws Exception { | |
1226 super.testListTypeFieldsClass(); | |
1227 } | |
1228 | |
1229 @Override | |
1230 public void testListTypeFieldsClass(ListTypeFieldsClass v) throws Exception { | |
1231 MessagePack msgpack = new MessagePack(); | |
1232 byte[] bytes = msgpack.write(v); | |
1233 ByteArrayInputStream in = new ByteArrayInputStream(bytes); | |
1234 ListTypeFieldsClass ret = msgpack.read(in, ListTypeFieldsClass.class); | |
1235 assertEquals(v, ret); | |
1236 } | |
1237 } | |
1238 | |
1239 public static class TestListTypeFieldsClassPackBufferUnpack extends org.msgpack.template.builder.TestSet { | |
1240 @Test @Override | |
1241 public void testListTypeFieldsClass() throws Exception { | |
1242 super.testListTypeFieldsClass(); | |
1243 } | |
1244 | |
1245 @Override | |
1246 public void testListTypeFieldsClass(ListTypeFieldsClass v) throws Exception { | |
1247 MessagePack msgpack = new MessagePack(); | |
1248 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
1249 msgpack.write(out, v); | |
1250 byte[] bytes = out.toByteArray(); | |
1251 ListTypeFieldsClass ret = msgpack.read(bytes, ListTypeFieldsClass.class); | |
1252 assertEquals(v, ret); | |
1253 } | |
1254 } | |
1255 | |
1256 public static class TestListTypeFieldsClassPackConvert extends org.msgpack.template.builder.TestSet { | |
1257 @Test @Override | |
1258 public void testListTypeFieldsClass() throws Exception { | |
1259 super.testListTypeFieldsClass(); | |
1260 } | |
1261 | |
1262 @Override | |
1263 public void testListTypeFieldsClass(ListTypeFieldsClass v) throws Exception { | |
1264 MessagePack msgpack = new MessagePack(); | |
1265 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
1266 msgpack.write(out, v); | |
1267 byte[] bytes = out.toByteArray(); | |
1268 Value value = msgpack.read(bytes); | |
1269 ListTypeFieldsClass ret = msgpack.convert(value, ListTypeFieldsClass.class); | |
1270 assertEquals(v, ret); | |
1271 } | |
1272 } | |
1273 | |
1274 public static class TestListTypeFieldsClassPackUnpack extends org.msgpack.template.builder.TestSet { | |
1275 @Test @Override | |
1276 public void testListTypeFieldsClass() throws Exception { | |
1277 super.testListTypeFieldsClass(); | |
1278 } | |
1279 | |
1280 @Override | |
1281 public void testListTypeFieldsClass(ListTypeFieldsClass v) throws Exception { | |
1282 MessagePack msgpack = new MessagePack(); | |
1283 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
1284 msgpack.write(out, v); | |
1285 ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray()); | |
1286 ListTypeFieldsClass ret = msgpack.read(in, ListTypeFieldsClass.class); | |
1287 assertEquals(v, ret); | |
1288 } | |
1289 } | |
1290 | |
1291 public static class TestListTypeFieldsClassUnconvertConvert extends org.msgpack.template.builder.TestSet { | |
1292 @Test @Override | |
1293 public void testListTypeFieldsClass() throws Exception { | |
1294 super.testListTypeFieldsClass(); | |
1295 } | |
1296 | |
1297 @Override | |
1298 public void testListTypeFieldsClass(ListTypeFieldsClass v) throws Exception { | |
1299 MessagePack msgpack = new MessagePack(); | |
1300 Value value = msgpack.unconvert(v); | |
1301 ListTypeFieldsClass ret = msgpack.convert(value, ListTypeFieldsClass.class); | |
1302 assertEquals(v, ret); | |
1303 } | |
1304 } | |
1305 | |
1306 public static class TestListTypeFieldsClassNotNullableBufferPackBufferUnpack extends org.msgpack.template.builder.TestSet { | |
1307 @Test @Override | |
1308 public void testListTypeFieldsClassNotNullable() throws Exception { | |
1309 super.testListTypeFieldsClassNotNullable(); | |
1310 } | |
1311 | |
1312 @Override | |
1313 public void testListTypeFieldsClassNotNullable(ListTypeFieldsClassNotNullable v) throws Exception { | |
1314 MessagePack msgpack = new MessagePack(); | |
1315 byte[] bytes = msgpack.write(v); | |
1316 ListTypeFieldsClassNotNullable ret = msgpack.read(bytes, ListTypeFieldsClassNotNullable.class); | |
1317 assertEquals(v, ret); | |
1318 } | |
1319 } | |
1320 | |
1321 public static class TestListTypeFieldsClassNotNullableBufferPackConvert extends org.msgpack.template.builder.TestSet { | |
1322 @Test @Override | |
1323 public void testListTypeFieldsClassNotNullable() throws Exception { | |
1324 super.testListTypeFieldsClassNotNullable(); | |
1325 } | |
1326 | |
1327 @Override | |
1328 public void testListTypeFieldsClassNotNullable(ListTypeFieldsClassNotNullable v) throws Exception { | |
1329 MessagePack msgpack = new MessagePack(); | |
1330 byte[] bytes = msgpack.write(v); | |
1331 Value value = msgpack.read(bytes); | |
1332 ListTypeFieldsClassNotNullable ret = msgpack.convert(value, ListTypeFieldsClassNotNullable.class); | |
1333 assertEquals(v, ret); | |
1334 } | |
1335 } | |
1336 | |
1337 public static class TestListTypeFieldsClassNotNullableBufferPackUnpack extends org.msgpack.template.builder.TestSet { | |
1338 @Test @Override | |
1339 public void testListTypeFieldsClassNotNullable() throws Exception { | |
1340 super.testListTypeFieldsClassNotNullable(); | |
1341 } | |
1342 | |
1343 @Override | |
1344 public void testListTypeFieldsClassNotNullable(ListTypeFieldsClassNotNullable v) throws Exception { | |
1345 MessagePack msgpack = new MessagePack(); | |
1346 byte[] bytes = msgpack.write(v); | |
1347 ByteArrayInputStream in = new ByteArrayInputStream(bytes); | |
1348 ListTypeFieldsClassNotNullable ret = msgpack.read(in, ListTypeFieldsClassNotNullable.class); | |
1349 assertEquals(v, ret); | |
1350 } | |
1351 } | |
1352 | |
1353 public static class TestListTypeFieldsClassNotNullablePackBufferUnpack extends org.msgpack.template.builder.TestSet { | |
1354 @Test @Override | |
1355 public void testListTypeFieldsClassNotNullable() throws Exception { | |
1356 super.testListTypeFieldsClassNotNullable(); | |
1357 } | |
1358 | |
1359 @Override | |
1360 public void testListTypeFieldsClassNotNullable(ListTypeFieldsClassNotNullable v) throws Exception { | |
1361 MessagePack msgpack = new MessagePack(); | |
1362 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
1363 msgpack.write(out, v); | |
1364 byte[] bytes = out.toByteArray(); | |
1365 ListTypeFieldsClassNotNullable ret = msgpack.read(bytes, ListTypeFieldsClassNotNullable.class); | |
1366 assertEquals(v, ret); | |
1367 } | |
1368 } | |
1369 | |
1370 public static class TestListTypeFieldsClassNotNullablePackConvert extends org.msgpack.template.builder.TestSet { | |
1371 @Test @Override | |
1372 public void testListTypeFieldsClassNotNullable() throws Exception { | |
1373 super.testListTypeFieldsClassNotNullable(); | |
1374 } | |
1375 | |
1376 @Override | |
1377 public void testListTypeFieldsClassNotNullable(ListTypeFieldsClassNotNullable v) throws Exception { | |
1378 MessagePack msgpack = new MessagePack(); | |
1379 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
1380 msgpack.write(out, v); | |
1381 byte[] bytes = out.toByteArray(); | |
1382 Value value = msgpack.read(bytes); | |
1383 ListTypeFieldsClassNotNullable ret = msgpack.convert(value, ListTypeFieldsClassNotNullable.class); | |
1384 assertEquals(v, ret); | |
1385 } | |
1386 } | |
1387 | |
1388 public static class TestListTypeFieldsClassNotNullablePackUnpack extends org.msgpack.template.builder.TestSet { | |
1389 @Test @Override | |
1390 public void testListTypeFieldsClassNotNullable() throws Exception { | |
1391 super.testListTypeFieldsClassNotNullable(); | |
1392 } | |
1393 | |
1394 @Override | |
1395 public void testListTypeFieldsClassNotNullable(ListTypeFieldsClassNotNullable v) throws Exception { | |
1396 MessagePack msgpack = new MessagePack(); | |
1397 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
1398 msgpack.write(out, v); | |
1399 ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray()); | |
1400 ListTypeFieldsClassNotNullable ret = msgpack.read(in, ListTypeFieldsClassNotNullable.class); | |
1401 assertEquals(v, ret); | |
1402 } | |
1403 } | |
1404 | |
1405 public static class TestListTypeFieldsClassNotNullableUnconvertConvert extends org.msgpack.template.builder.TestSet { | |
1406 @Test @Override | |
1407 public void testListTypeFieldsClassNotNullable() throws Exception { | |
1408 super.testListTypeFieldsClassNotNullable(); | |
1409 } | |
1410 | |
1411 @Override | |
1412 public void testListTypeFieldsClassNotNullable(ListTypeFieldsClassNotNullable v) throws Exception { | |
1413 MessagePack msgpack = new MessagePack(); | |
1414 Value value = msgpack.unconvert(v); | |
1415 ListTypeFieldsClassNotNullable ret = msgpack.convert(value, ListTypeFieldsClassNotNullable.class); | |
1416 assertEquals(v, ret); | |
1417 } | |
1418 } | |
1419 | |
1420 public static class TestMapTypeFieldsClassBufferPackBufferUnpack extends org.msgpack.template.builder.TestSet { | |
1421 @Test @Override | |
1422 public void testMapTypeFieldsClass() throws Exception { | |
1423 super.testMapTypeFieldsClass(); | |
1424 } | |
1425 | |
1426 @Override | |
1427 public void testMapTypeFieldsClass(MapTypeFieldsClass v) throws Exception { | |
1428 MessagePack msgpack = new MessagePack(); | |
1429 byte[] bytes = msgpack.write(v); | |
1430 MapTypeFieldsClass ret = msgpack.read(bytes, MapTypeFieldsClass.class); | |
1431 assertEquals(v, ret); | |
1432 } | |
1433 } | |
1434 | |
1435 public static class TestMapTypeFieldsClassBufferPackConvert extends org.msgpack.template.builder.TestSet { | |
1436 @Test @Override | |
1437 public void testMapTypeFieldsClass() throws Exception { | |
1438 super.testMapTypeFieldsClass(); | |
1439 } | |
1440 | |
1441 @Override | |
1442 public void testMapTypeFieldsClass(MapTypeFieldsClass v) throws Exception { | |
1443 MessagePack msgpack = new MessagePack(); | |
1444 byte[] bytes = msgpack.write(v); | |
1445 Value value = msgpack.read(bytes); | |
1446 MapTypeFieldsClass ret = msgpack.convert(value, MapTypeFieldsClass.class); | |
1447 assertEquals(v, ret); | |
1448 } | |
1449 } | |
1450 | |
1451 public static class TestMapTypeFieldsClassBufferPackUnpack extends org.msgpack.template.builder.TestSet { | |
1452 @Test @Override | |
1453 public void testMapTypeFieldsClass() throws Exception { | |
1454 super.testMapTypeFieldsClass(); | |
1455 } | |
1456 | |
1457 @Override | |
1458 public void testMapTypeFieldsClass(MapTypeFieldsClass v) throws Exception { | |
1459 MessagePack msgpack = new MessagePack(); | |
1460 byte[] bytes = msgpack.write(v); | |
1461 ByteArrayInputStream in = new ByteArrayInputStream(bytes); | |
1462 MapTypeFieldsClass ret = msgpack.read(in, MapTypeFieldsClass.class); | |
1463 assertEquals(v, ret); | |
1464 } | |
1465 } | |
1466 | |
1467 public static class TestMapTypeFieldsClassPackBufferUnpack extends org.msgpack.template.builder.TestSet { | |
1468 @Test @Override | |
1469 public void testMapTypeFieldsClass() throws Exception { | |
1470 super.testMapTypeFieldsClass(); | |
1471 } | |
1472 | |
1473 @Override | |
1474 public void testMapTypeFieldsClass(MapTypeFieldsClass v) throws Exception { | |
1475 MessagePack msgpack = new MessagePack(); | |
1476 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
1477 msgpack.write(out, v); | |
1478 byte[] bytes = out.toByteArray(); | |
1479 MapTypeFieldsClass ret = msgpack.read(bytes, MapTypeFieldsClass.class); | |
1480 assertEquals(v, ret); | |
1481 } | |
1482 } | |
1483 | |
1484 public static class TestMapTypeFieldsClassPackConvert extends org.msgpack.template.builder.TestSet { | |
1485 @Test @Override | |
1486 public void testMapTypeFieldsClass() throws Exception { | |
1487 super.testMapTypeFieldsClass(); | |
1488 } | |
1489 | |
1490 @Override | |
1491 public void testMapTypeFieldsClass(MapTypeFieldsClass v) throws Exception { | |
1492 MessagePack msgpack = new MessagePack(); | |
1493 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
1494 msgpack.write(out, v); | |
1495 byte[] bytes = out.toByteArray(); | |
1496 Value value = msgpack.read(bytes); | |
1497 MapTypeFieldsClass ret = msgpack.convert(value, MapTypeFieldsClass.class); | |
1498 assertEquals(v, ret); | |
1499 } | |
1500 } | |
1501 | |
1502 public static class TestMapTypeFieldsClassPackUnpack extends org.msgpack.template.builder.TestSet { | |
1503 @Test @Override | |
1504 public void testMapTypeFieldsClass() throws Exception { | |
1505 super.testMapTypeFieldsClass(); | |
1506 } | |
1507 | |
1508 @Override | |
1509 public void testMapTypeFieldsClass(MapTypeFieldsClass v) throws Exception { | |
1510 MessagePack msgpack = new MessagePack(); | |
1511 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
1512 msgpack.write(out, v); | |
1513 ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray()); | |
1514 MapTypeFieldsClass ret = msgpack.read(in, MapTypeFieldsClass.class); | |
1515 assertEquals(v, ret); | |
1516 } | |
1517 } | |
1518 | |
1519 public static class TestMapTypeFieldsClassUnconvertConvert extends org.msgpack.template.builder.TestSet { | |
1520 @Test @Override | |
1521 public void testMapTypeFieldsClass() throws Exception { | |
1522 super.testMapTypeFieldsClass(); | |
1523 } | |
1524 | |
1525 @Override | |
1526 public void testMapTypeFieldsClass(MapTypeFieldsClass v) throws Exception { | |
1527 MessagePack msgpack = new MessagePack(); | |
1528 Value value = msgpack.unconvert(v); | |
1529 MapTypeFieldsClass ret = msgpack.convert(value, MapTypeFieldsClass.class); | |
1530 assertEquals(v, ret); | |
1531 } | |
1532 } | |
1533 | |
1534 public static class TestMapTypeFieldsClassNotNullableBufferPackBufferUnpack extends org.msgpack.template.builder.TestSet { | |
1535 @Test @Override | |
1536 public void testMapTypeFieldsClassNotNullable() throws Exception { | |
1537 super.testMapTypeFieldsClassNotNullable(); | |
1538 } | |
1539 | |
1540 @Override | |
1541 public void testMapTypeFieldsClassNotNullable(MapTypeFieldsClassNotNullable v) throws Exception { | |
1542 MessagePack msgpack = new MessagePack(); | |
1543 byte[] bytes = msgpack.write(v); | |
1544 MapTypeFieldsClassNotNullable ret = msgpack.read(bytes, MapTypeFieldsClassNotNullable.class); | |
1545 assertEquals(v, ret); | |
1546 } | |
1547 } | |
1548 | |
1549 public static class TestMapTypeFieldsClassNotNullableBufferPackConvert extends org.msgpack.template.builder.TestSet { | |
1550 @Test @Override | |
1551 public void testMapTypeFieldsClassNotNullable() throws Exception { | |
1552 super.testMapTypeFieldsClassNotNullable(); | |
1553 } | |
1554 | |
1555 @Override | |
1556 public void testMapTypeFieldsClassNotNullable(MapTypeFieldsClassNotNullable v) throws Exception { | |
1557 MessagePack msgpack = new MessagePack(); | |
1558 byte[] bytes = msgpack.write(v); | |
1559 Value value = msgpack.read(bytes); | |
1560 MapTypeFieldsClassNotNullable ret = msgpack.convert(value, MapTypeFieldsClassNotNullable.class); | |
1561 assertEquals(v, ret); | |
1562 } | |
1563 } | |
1564 | |
1565 public static class TestMapTypeFieldsClassNotNullableBufferPackUnpack extends org.msgpack.template.builder.TestSet { | |
1566 @Test @Override | |
1567 public void testMapTypeFieldsClassNotNullable() throws Exception { | |
1568 super.testMapTypeFieldsClassNotNullable(); | |
1569 } | |
1570 | |
1571 @Override | |
1572 public void testMapTypeFieldsClassNotNullable(MapTypeFieldsClassNotNullable v) throws Exception { | |
1573 MessagePack msgpack = new MessagePack(); | |
1574 byte[] bytes = msgpack.write(v); | |
1575 ByteArrayInputStream in = new ByteArrayInputStream(bytes); | |
1576 MapTypeFieldsClassNotNullable ret = msgpack.read(in, MapTypeFieldsClassNotNullable.class); | |
1577 assertEquals(v, ret); | |
1578 } | |
1579 } | |
1580 | |
1581 public static class TestMapTypeFieldsClassNotNullablePackBufferUnpack extends org.msgpack.template.builder.TestSet { | |
1582 @Test @Override | |
1583 public void testMapTypeFieldsClassNotNullable() throws Exception { | |
1584 super.testMapTypeFieldsClassNotNullable(); | |
1585 } | |
1586 | |
1587 @Override | |
1588 public void testMapTypeFieldsClassNotNullable(MapTypeFieldsClassNotNullable v) throws Exception { | |
1589 MessagePack msgpack = new MessagePack(); | |
1590 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
1591 msgpack.write(out, v); | |
1592 byte[] bytes = out.toByteArray(); | |
1593 MapTypeFieldsClassNotNullable ret = msgpack.read(bytes, MapTypeFieldsClassNotNullable.class); | |
1594 assertEquals(v, ret); | |
1595 } | |
1596 } | |
1597 | |
1598 public static class TestMapTypeFieldsClassNotNullablePackConvert extends org.msgpack.template.builder.TestSet { | |
1599 @Test @Override | |
1600 public void testMapTypeFieldsClassNotNullable() throws Exception { | |
1601 super.testMapTypeFieldsClassNotNullable(); | |
1602 } | |
1603 | |
1604 @Override | |
1605 public void testMapTypeFieldsClassNotNullable(MapTypeFieldsClassNotNullable v) throws Exception { | |
1606 MessagePack msgpack = new MessagePack(); | |
1607 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
1608 msgpack.write(out, v); | |
1609 byte[] bytes = out.toByteArray(); | |
1610 Value value = msgpack.read(bytes); | |
1611 MapTypeFieldsClassNotNullable ret = msgpack.convert(value, MapTypeFieldsClassNotNullable.class); | |
1612 assertEquals(v, ret); | |
1613 } | |
1614 } | |
1615 | |
1616 public static class TestMapTypeFieldsClassNotNullablePackUnpack extends org.msgpack.template.builder.TestSet { | |
1617 @Test @Override | |
1618 public void testMapTypeFieldsClassNotNullable() throws Exception { | |
1619 super.testMapTypeFieldsClassNotNullable(); | |
1620 } | |
1621 | |
1622 @Override | |
1623 public void testMapTypeFieldsClassNotNullable(MapTypeFieldsClassNotNullable v) throws Exception { | |
1624 MessagePack msgpack = new MessagePack(); | |
1625 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
1626 msgpack.write(out, v); | |
1627 ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray()); | |
1628 MapTypeFieldsClassNotNullable ret = msgpack.read(in, MapTypeFieldsClassNotNullable.class); | |
1629 assertEquals(v, ret); | |
1630 } | |
1631 } | |
1632 | |
1633 public static class TestMapTypeFieldsClassNotNullableUnconvertConvert extends org.msgpack.template.builder.TestSet { | |
1634 @Test @Override | |
1635 public void testMapTypeFieldsClassNotNullable() throws Exception { | |
1636 super.testMapTypeFieldsClassNotNullable(); | |
1637 } | |
1638 | |
1639 @Override | |
1640 public void testMapTypeFieldsClassNotNullable(MapTypeFieldsClassNotNullable v) throws Exception { | |
1641 MessagePack msgpack = new MessagePack(); | |
1642 Value value = msgpack.unconvert(v); | |
1643 MapTypeFieldsClassNotNullable ret = msgpack.convert(value, MapTypeFieldsClassNotNullable.class); | |
1644 assertEquals(v, ret); | |
1645 } | |
1646 } | |
1647 | |
1648 public static class TestEnumTypeFieldsClassBufferPackBufferUnpack extends org.msgpack.template.builder.TestSet { | |
1649 @Test @Override | |
1650 public void testEnumTypeFieldsClass() throws Exception { | |
1651 super.testEnumTypeFieldsClass(); | |
1652 } | |
1653 | |
1654 @Override | |
1655 public void testEnumTypeFieldsClass(EnumTypeFieldsClass v) throws Exception { | |
1656 MessagePack msgpack = new MessagePack(); | |
1657 byte[] bytes = msgpack.write(v); | |
1658 EnumTypeFieldsClass ret = msgpack.read(bytes, EnumTypeFieldsClass.class); | |
1659 assertEquals(v, ret); | |
1660 } | |
1661 } | |
1662 | |
1663 public static class TestEnumTypeFieldsClassBufferPackConvert extends org.msgpack.template.builder.TestSet { | |
1664 @Test @Override | |
1665 public void testEnumTypeFieldsClass() throws Exception { | |
1666 super.testEnumTypeFieldsClass(); | |
1667 } | |
1668 | |
1669 @Override | |
1670 public void testEnumTypeFieldsClass(EnumTypeFieldsClass v) throws Exception { | |
1671 MessagePack msgpack = new MessagePack(); | |
1672 byte[] bytes = msgpack.write(v); | |
1673 Value value = msgpack.read(bytes); | |
1674 EnumTypeFieldsClass ret = msgpack.convert(value, EnumTypeFieldsClass.class); | |
1675 assertEquals(v, ret); | |
1676 } | |
1677 } | |
1678 | |
1679 public static class TestEnumTypeFieldsClassBufferPackUnpack extends org.msgpack.template.builder.TestSet { | |
1680 @Test @Override | |
1681 public void testEnumTypeFieldsClass() throws Exception { | |
1682 super.testEnumTypeFieldsClass(); | |
1683 } | |
1684 | |
1685 @Override | |
1686 public void testEnumTypeFieldsClass(EnumTypeFieldsClass v) throws Exception { | |
1687 MessagePack msgpack = new MessagePack(); | |
1688 byte[] bytes = msgpack.write(v); | |
1689 ByteArrayInputStream in = new ByteArrayInputStream(bytes); | |
1690 EnumTypeFieldsClass ret = msgpack.read(in, EnumTypeFieldsClass.class); | |
1691 assertEquals(v, ret); | |
1692 } | |
1693 } | |
1694 | |
1695 public static class TestEnumTypeFieldsClassPackBufferUnpack extends org.msgpack.template.builder.TestSet { | |
1696 @Test @Override | |
1697 public void testEnumTypeFieldsClass() throws Exception { | |
1698 super.testEnumTypeFieldsClass(); | |
1699 } | |
1700 | |
1701 @Override | |
1702 public void testEnumTypeFieldsClass(EnumTypeFieldsClass v) throws Exception { | |
1703 MessagePack msgpack = new MessagePack(); | |
1704 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
1705 msgpack.write(out, v); | |
1706 byte[] bytes = out.toByteArray(); | |
1707 EnumTypeFieldsClass ret = msgpack.read(bytes, EnumTypeFieldsClass.class); | |
1708 assertEquals(v, ret); | |
1709 } | |
1710 } | |
1711 | |
1712 public static class TestEnumTypeFieldsClassPackConvert extends org.msgpack.template.builder.TestSet { | |
1713 @Test @Override | |
1714 public void testEnumTypeFieldsClass() throws Exception { | |
1715 super.testEnumTypeFieldsClass(); | |
1716 } | |
1717 | |
1718 @Override | |
1719 public void testEnumTypeFieldsClass(EnumTypeFieldsClass v) throws Exception { | |
1720 MessagePack msgpack = new MessagePack(); | |
1721 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
1722 msgpack.write(out, v); | |
1723 byte[] bytes = out.toByteArray(); | |
1724 Value value = msgpack.read(bytes); | |
1725 EnumTypeFieldsClass ret = msgpack.convert(value, EnumTypeFieldsClass.class); | |
1726 assertEquals(v, ret); | |
1727 } | |
1728 } | |
1729 | |
1730 public static class TestEnumTypeFieldsClassPackUnpack extends org.msgpack.template.builder.TestSet { | |
1731 @Test @Override | |
1732 public void testEnumTypeFieldsClass() throws Exception { | |
1733 super.testEnumTypeFieldsClass(); | |
1734 } | |
1735 | |
1736 @Override | |
1737 public void testEnumTypeFieldsClass(EnumTypeFieldsClass v) throws Exception { | |
1738 MessagePack msgpack = new MessagePack(); | |
1739 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
1740 msgpack.write(out, v); | |
1741 ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray()); | |
1742 EnumTypeFieldsClass ret = msgpack.read(in, EnumTypeFieldsClass.class); | |
1743 assertEquals(v, ret); | |
1744 } | |
1745 } | |
1746 | |
1747 public static class TestEnumTypeFieldsClassUnconvertConvert extends org.msgpack.template.builder.TestSet { | |
1748 @Test @Override | |
1749 public void testEnumTypeFieldsClass() throws Exception { | |
1750 super.testEnumTypeFieldsClass(); | |
1751 } | |
1752 | |
1753 @Override | |
1754 public void testEnumTypeFieldsClass(EnumTypeFieldsClass v) throws Exception { | |
1755 MessagePack msgpack = new MessagePack(); | |
1756 Value value = msgpack.unconvert(v); | |
1757 EnumTypeFieldsClass ret = msgpack.convert(value, EnumTypeFieldsClass.class); | |
1758 assertEquals(v, ret); | |
1759 } | |
1760 } | |
1761 | |
1762 public static class TestEnumTypeFieldsClassNotNullableBufferPackBufferUnpack extends org.msgpack.template.builder.TestSet { | |
1763 @Test @Override | |
1764 public void testEnumTypeFieldsClassNotNullable() throws Exception { | |
1765 super.testEnumTypeFieldsClassNotNullable(); | |
1766 } | |
1767 | |
1768 @Override | |
1769 public void testEnumTypeFieldsClassNotNullable(EnumTypeFieldsClassNotNullable v) throws Exception { | |
1770 MessagePack msgpack = new MessagePack(); | |
1771 byte[] bytes = msgpack.write(v); | |
1772 EnumTypeFieldsClassNotNullable ret = msgpack.read(bytes, EnumTypeFieldsClassNotNullable.class); | |
1773 assertEquals(v, ret); | |
1774 } | |
1775 } | |
1776 | |
1777 public static class TestEnumTypeFieldsClassNotNullableBufferPackConvert extends org.msgpack.template.builder.TestSet { | |
1778 @Test @Override | |
1779 public void testEnumTypeFieldsClassNotNullable() throws Exception { | |
1780 super.testEnumTypeFieldsClassNotNullable(); | |
1781 } | |
1782 | |
1783 @Override | |
1784 public void testEnumTypeFieldsClassNotNullable(EnumTypeFieldsClassNotNullable v) throws Exception { | |
1785 MessagePack msgpack = new MessagePack(); | |
1786 byte[] bytes = msgpack.write(v); | |
1787 Value value = msgpack.read(bytes); | |
1788 EnumTypeFieldsClassNotNullable ret = msgpack.convert(value, EnumTypeFieldsClassNotNullable.class); | |
1789 assertEquals(v, ret); | |
1790 } | |
1791 } | |
1792 | |
1793 public static class TestEnumTypeFieldsClassNotNullableBufferPackUnpack extends org.msgpack.template.builder.TestSet { | |
1794 @Test @Override | |
1795 public void testEnumTypeFieldsClassNotNullable() throws Exception { | |
1796 super.testEnumTypeFieldsClassNotNullable(); | |
1797 } | |
1798 | |
1799 @Override | |
1800 public void testEnumTypeFieldsClassNotNullable(EnumTypeFieldsClassNotNullable v) throws Exception { | |
1801 MessagePack msgpack = new MessagePack(); | |
1802 byte[] bytes = msgpack.write(v); | |
1803 ByteArrayInputStream in = new ByteArrayInputStream(bytes); | |
1804 EnumTypeFieldsClassNotNullable ret = msgpack.read(in, EnumTypeFieldsClassNotNullable.class); | |
1805 assertEquals(v, ret); | |
1806 } | |
1807 } | |
1808 | |
1809 public static class TestEnumTypeFieldsClassNotNullablePackBufferUnpack extends org.msgpack.template.builder.TestSet { | |
1810 @Test @Override | |
1811 public void testEnumTypeFieldsClassNotNullable() throws Exception { | |
1812 super.testEnumTypeFieldsClassNotNullable(); | |
1813 } | |
1814 | |
1815 @Override | |
1816 public void testEnumTypeFieldsClassNotNullable(EnumTypeFieldsClassNotNullable v) throws Exception { | |
1817 MessagePack msgpack = new MessagePack(); | |
1818 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
1819 msgpack.write(out, v); | |
1820 byte[] bytes = out.toByteArray(); | |
1821 EnumTypeFieldsClassNotNullable ret = msgpack.read(bytes, EnumTypeFieldsClassNotNullable.class); | |
1822 assertEquals(v, ret); | |
1823 } | |
1824 } | |
1825 | |
1826 public static class TestEnumTypeFieldsClassNotNullablePackConvert extends org.msgpack.template.builder.TestSet { | |
1827 @Test @Override | |
1828 public void testEnumTypeFieldsClassNotNullable() throws Exception { | |
1829 super.testEnumTypeFieldsClassNotNullable(); | |
1830 } | |
1831 | |
1832 @Override | |
1833 public void testEnumTypeFieldsClassNotNullable(EnumTypeFieldsClassNotNullable v) throws Exception { | |
1834 MessagePack msgpack = new MessagePack(); | |
1835 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
1836 msgpack.write(out, v); | |
1837 byte[] bytes = out.toByteArray(); | |
1838 Value value = msgpack.read(bytes); | |
1839 EnumTypeFieldsClassNotNullable ret = msgpack.convert(value, EnumTypeFieldsClassNotNullable.class); | |
1840 assertEquals(v, ret); | |
1841 } | |
1842 } | |
1843 | |
1844 public static class TestEnumTypeFieldsClassNotNullablePackUnpack extends org.msgpack.template.builder.TestSet { | |
1845 @Test @Override | |
1846 public void testEnumTypeFieldsClassNotNullable() throws Exception { | |
1847 super.testEnumTypeFieldsClassNotNullable(); | |
1848 } | |
1849 | |
1850 @Override | |
1851 public void testEnumTypeFieldsClassNotNullable(EnumTypeFieldsClassNotNullable v) throws Exception { | |
1852 MessagePack msgpack = new MessagePack(); | |
1853 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
1854 msgpack.write(out, v); | |
1855 ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray()); | |
1856 EnumTypeFieldsClassNotNullable ret = msgpack.read(in, EnumTypeFieldsClassNotNullable.class); | |
1857 assertEquals(v, ret); | |
1858 } | |
1859 } | |
1860 | |
1861 public static class TestEnumTypeFieldsClassNotNullableUnconvertConvert extends org.msgpack.template.builder.TestSet { | |
1862 @Test @Override | |
1863 public void testEnumTypeFieldsClassNotNullable() throws Exception { | |
1864 super.testEnumTypeFieldsClassNotNullable(); | |
1865 } | |
1866 | |
1867 @Override | |
1868 public void testEnumTypeFieldsClassNotNullable(EnumTypeFieldsClassNotNullable v) throws Exception { | |
1869 MessagePack msgpack = new MessagePack(); | |
1870 Value value = msgpack.unconvert(v); | |
1871 EnumTypeFieldsClassNotNullable ret = msgpack.convert(value, EnumTypeFieldsClassNotNullable.class); | |
1872 assertEquals(v, ret); | |
1873 } | |
1874 } | |
1875 | |
1876 public static class TestModifiersFieldsClassBufferPackBufferUnpack extends org.msgpack.template.builder.TestSet { | |
1877 @Test @Override | |
1878 public void testModifiersFieldsClass() throws Exception { | |
1879 super.testModifiersFieldsClass(); | |
1880 } | |
1881 | |
1882 @Override | |
1883 public void testModifiersFieldsClass(ModifiersFieldsClass v) throws Exception { | |
1884 MessagePack msgpack = new MessagePack(); | |
1885 byte[] bytes = msgpack.write(v); | |
1886 ModifiersFieldsClass ret = msgpack.read(bytes, ModifiersFieldsClass.class); | |
1887 assertEquals(v, ret); | |
1888 } | |
1889 } | |
1890 | |
1891 public static class TestModifiersFieldsClassBufferPackConvert extends org.msgpack.template.builder.TestSet { | |
1892 @Test @Override | |
1893 public void testModifiersFieldsClass() throws Exception { | |
1894 super.testModifiersFieldsClass(); | |
1895 } | |
1896 | |
1897 @Override | |
1898 public void testModifiersFieldsClass(ModifiersFieldsClass v) throws Exception { | |
1899 MessagePack msgpack = new MessagePack(); | |
1900 byte[] bytes = msgpack.write(v); | |
1901 Value value = msgpack.read(bytes); | |
1902 ModifiersFieldsClass ret = msgpack.convert(value, ModifiersFieldsClass.class); | |
1903 assertEquals(v, ret); | |
1904 } | |
1905 } | |
1906 | |
1907 public static class TestModifiersFieldsClassBufferPackUnpack extends org.msgpack.template.builder.TestSet { | |
1908 @Test @Override | |
1909 public void testModifiersFieldsClass() throws Exception { | |
1910 super.testModifiersFieldsClass(); | |
1911 } | |
1912 | |
1913 @Override | |
1914 public void testModifiersFieldsClass(ModifiersFieldsClass v) throws Exception { | |
1915 MessagePack msgpack = new MessagePack(); | |
1916 byte[] bytes = msgpack.write(v); | |
1917 ByteArrayInputStream in = new ByteArrayInputStream(bytes); | |
1918 ModifiersFieldsClass ret = msgpack.read(in, ModifiersFieldsClass.class); | |
1919 assertEquals(v, ret); | |
1920 } | |
1921 } | |
1922 | |
1923 public static class TestModifiersFieldsClassPackBufferUnpack extends org.msgpack.template.builder.TestSet { | |
1924 @Test @Override | |
1925 public void testModifiersFieldsClass() throws Exception { | |
1926 super.testModifiersFieldsClass(); | |
1927 } | |
1928 | |
1929 @Override | |
1930 public void testModifiersFieldsClass(ModifiersFieldsClass v) throws Exception { | |
1931 MessagePack msgpack = new MessagePack(); | |
1932 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
1933 msgpack.write(out, v); | |
1934 byte[] bytes = out.toByteArray(); | |
1935 ModifiersFieldsClass ret = msgpack.read(bytes, ModifiersFieldsClass.class); | |
1936 assertEquals(v, ret); | |
1937 } | |
1938 } | |
1939 | |
1940 public static class TestModifiersFieldsClassPackConvert extends org.msgpack.template.builder.TestSet { | |
1941 @Test @Override | |
1942 public void testModifiersFieldsClass() throws Exception { | |
1943 super.testModifiersFieldsClass(); | |
1944 } | |
1945 | |
1946 @Override | |
1947 public void testModifiersFieldsClass(ModifiersFieldsClass v) throws Exception { | |
1948 MessagePack msgpack = new MessagePack(); | |
1949 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
1950 msgpack.write(out, v); | |
1951 byte[] bytes = out.toByteArray(); | |
1952 Value value = msgpack.read(bytes); | |
1953 ModifiersFieldsClass ret = msgpack.convert(value, ModifiersFieldsClass.class); | |
1954 assertEquals(v, ret); | |
1955 } | |
1956 } | |
1957 | |
1958 public static class TestModifiersFieldsClassPackUnpack extends org.msgpack.template.builder.TestSet { | |
1959 @Test @Override | |
1960 public void testModifiersFieldsClass() throws Exception { | |
1961 super.testModifiersFieldsClass(); | |
1962 } | |
1963 | |
1964 @Override | |
1965 public void testModifiersFieldsClass(ModifiersFieldsClass v) throws Exception { | |
1966 MessagePack msgpack = new MessagePack(); | |
1967 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
1968 msgpack.write(out, v); | |
1969 ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray()); | |
1970 ModifiersFieldsClass ret = msgpack.read(in, ModifiersFieldsClass.class); | |
1971 assertEquals(v, ret); | |
1972 } | |
1973 } | |
1974 | |
1975 public static class TestModifiersFieldsClassUnconvertConvert extends org.msgpack.template.builder.TestSet { | |
1976 @Test @Override | |
1977 public void testModifiersFieldsClass() throws Exception { | |
1978 super.testModifiersFieldsClass(); | |
1979 } | |
1980 | |
1981 @Override | |
1982 public void testModifiersFieldsClass(ModifiersFieldsClass v) throws Exception { | |
1983 MessagePack msgpack = new MessagePack(); | |
1984 Value value = msgpack.unconvert(v); | |
1985 ModifiersFieldsClass ret = msgpack.convert(value, ModifiersFieldsClass.class); | |
1986 assertEquals(v, ret); | |
1987 } | |
1988 } | |
1989 | |
1990 public static class TestModifiersFieldsClassNotNullableBufferPackBufferUnpack extends org.msgpack.template.builder.TestSet { | |
1991 @Test @Override | |
1992 public void testModifiersFieldsClassNotNullable() throws Exception { | |
1993 super.testModifiersFieldsClassNotNullable(); | |
1994 } | |
1995 | |
1996 @Override | |
1997 public void testModifiersFieldsClassNotNullable(ModifiersFieldsClassNotNullable v) throws Exception { | |
1998 MessagePack msgpack = new MessagePack(); | |
1999 byte[] bytes = msgpack.write(v); | |
2000 ModifiersFieldsClassNotNullable ret = msgpack.read(bytes, ModifiersFieldsClassNotNullable.class); | |
2001 assertEquals(v, ret); | |
2002 } | |
2003 } | |
2004 | |
2005 public static class TestModifiersFieldsClassNotNullableBufferPackConvert extends org.msgpack.template.builder.TestSet { | |
2006 @Test @Override | |
2007 public void testModifiersFieldsClassNotNullable() throws Exception { | |
2008 super.testModifiersFieldsClassNotNullable(); | |
2009 } | |
2010 | |
2011 @Override | |
2012 public void testModifiersFieldsClassNotNullable(ModifiersFieldsClassNotNullable v) throws Exception { | |
2013 MessagePack msgpack = new MessagePack(); | |
2014 byte[] bytes = msgpack.write(v); | |
2015 Value value = msgpack.read(bytes); | |
2016 ModifiersFieldsClassNotNullable ret = msgpack.convert(value, ModifiersFieldsClassNotNullable.class); | |
2017 assertEquals(v, ret); | |
2018 } | |
2019 } | |
2020 | |
2021 public static class TestModifiersFieldsClassNotNullableBufferPackUnpack extends org.msgpack.template.builder.TestSet { | |
2022 @Test @Override | |
2023 public void testModifiersFieldsClassNotNullable() throws Exception { | |
2024 super.testModifiersFieldsClassNotNullable(); | |
2025 } | |
2026 | |
2027 @Override | |
2028 public void testModifiersFieldsClassNotNullable(ModifiersFieldsClassNotNullable v) throws Exception { | |
2029 MessagePack msgpack = new MessagePack(); | |
2030 byte[] bytes = msgpack.write(v); | |
2031 ByteArrayInputStream in = new ByteArrayInputStream(bytes); | |
2032 ModifiersFieldsClassNotNullable ret = msgpack.read(in, ModifiersFieldsClassNotNullable.class); | |
2033 assertEquals(v, ret); | |
2034 } | |
2035 } | |
2036 | |
2037 public static class TestModifiersFieldsClassNotNullablePackBufferUnpack extends org.msgpack.template.builder.TestSet { | |
2038 @Test @Override | |
2039 public void testModifiersFieldsClassNotNullable() throws Exception { | |
2040 super.testModifiersFieldsClassNotNullable(); | |
2041 } | |
2042 | |
2043 @Override | |
2044 public void testModifiersFieldsClassNotNullable(ModifiersFieldsClassNotNullable v) throws Exception { | |
2045 MessagePack msgpack = new MessagePack(); | |
2046 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
2047 msgpack.write(out, v); | |
2048 byte[] bytes = out.toByteArray(); | |
2049 ModifiersFieldsClassNotNullable ret = msgpack.read(bytes, ModifiersFieldsClassNotNullable.class); | |
2050 assertEquals(v, ret); | |
2051 } | |
2052 } | |
2053 | |
2054 public static class TestModifiersFieldsClassNotNullablePackConvert extends org.msgpack.template.builder.TestSet { | |
2055 @Test @Override | |
2056 public void testModifiersFieldsClassNotNullable() throws Exception { | |
2057 super.testModifiersFieldsClassNotNullable(); | |
2058 } | |
2059 | |
2060 @Override | |
2061 public void testModifiersFieldsClassNotNullable(ModifiersFieldsClassNotNullable v) throws Exception { | |
2062 MessagePack msgpack = new MessagePack(); | |
2063 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
2064 msgpack.write(out, v); | |
2065 byte[] bytes = out.toByteArray(); | |
2066 Value value = msgpack.read(bytes); | |
2067 ModifiersFieldsClassNotNullable ret = msgpack.convert(value, ModifiersFieldsClassNotNullable.class); | |
2068 assertEquals(v, ret); | |
2069 } | |
2070 } | |
2071 | |
2072 public static class TestModifiersFieldsClassNotNullablePackUnpack extends org.msgpack.template.builder.TestSet { | |
2073 @Test @Override | |
2074 public void testModifiersFieldsClassNotNullable() throws Exception { | |
2075 super.testModifiersFieldsClassNotNullable(); | |
2076 } | |
2077 | |
2078 @Override | |
2079 public void testModifiersFieldsClassNotNullable(ModifiersFieldsClassNotNullable v) throws Exception { | |
2080 MessagePack msgpack = new MessagePack(); | |
2081 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
2082 msgpack.write(out, v); | |
2083 ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray()); | |
2084 ModifiersFieldsClassNotNullable ret = msgpack.read(in, ModifiersFieldsClassNotNullable.class); | |
2085 assertEquals(v, ret); | |
2086 } | |
2087 } | |
2088 | |
2089 public static class TestModifiersFieldsClassNotNullableUnconvertConvert extends org.msgpack.template.builder.TestSet { | |
2090 @Test @Override | |
2091 public void testModifiersFieldsClassNotNullable() throws Exception { | |
2092 super.testModifiersFieldsClassNotNullable(); | |
2093 } | |
2094 | |
2095 @Override | |
2096 public void testModifiersFieldsClassNotNullable(ModifiersFieldsClassNotNullable v) throws Exception { | |
2097 MessagePack msgpack = new MessagePack(); | |
2098 Value value = msgpack.unconvert(v); | |
2099 ModifiersFieldsClassNotNullable ret = msgpack.convert(value, ModifiersFieldsClassNotNullable.class); | |
2100 assertEquals(v, ret); | |
2101 } | |
2102 } | |
2103 | |
2104 public static class TestUserDefinedTypeFieldsClassBufferPackBufferUnpack extends org.msgpack.template.builder.TestSet { | |
2105 @Test @Override | |
2106 public void testUserDefinedTypeFieldsClass() throws Exception { | |
2107 super.testUserDefinedTypeFieldsClass(); | |
2108 } | |
2109 | |
2110 @Override | |
2111 public void testUserDefinedTypeFieldsClass(UserDefinedTypeFieldsClass v) throws Exception { | |
2112 MessagePack msgpack = new MessagePack(); | |
2113 byte[] bytes = msgpack.write(v); | |
2114 UserDefinedTypeFieldsClass ret = msgpack.read(bytes, UserDefinedTypeFieldsClass.class); | |
2115 assertEquals(v, ret); | |
2116 } | |
2117 } | |
2118 | |
2119 public static class TestUserDefinedTypeFieldsClassBufferPackConvert extends org.msgpack.template.builder.TestSet { | |
2120 @Test @Override | |
2121 public void testUserDefinedTypeFieldsClass() throws Exception { | |
2122 super.testUserDefinedTypeFieldsClass(); | |
2123 } | |
2124 | |
2125 @Override | |
2126 public void testUserDefinedTypeFieldsClass(UserDefinedTypeFieldsClass v) throws Exception { | |
2127 MessagePack msgpack = new MessagePack(); | |
2128 byte[] bytes = msgpack.write(v); | |
2129 Value value = msgpack.read(bytes); | |
2130 UserDefinedTypeFieldsClass ret = msgpack.convert(value, UserDefinedTypeFieldsClass.class); | |
2131 assertEquals(v, ret); | |
2132 } | |
2133 } | |
2134 | |
2135 public static class TestUserDefinedTypeFieldsClassBufferPackUnpack extends org.msgpack.template.builder.TestSet { | |
2136 @Test @Override | |
2137 public void testUserDefinedTypeFieldsClass() throws Exception { | |
2138 super.testUserDefinedTypeFieldsClass(); | |
2139 } | |
2140 | |
2141 @Override | |
2142 public void testUserDefinedTypeFieldsClass(UserDefinedTypeFieldsClass v) throws Exception { | |
2143 MessagePack msgpack = new MessagePack(); | |
2144 byte[] bytes = msgpack.write(v); | |
2145 ByteArrayInputStream in = new ByteArrayInputStream(bytes); | |
2146 UserDefinedTypeFieldsClass ret = msgpack.read(in, UserDefinedTypeFieldsClass.class); | |
2147 assertEquals(v, ret); | |
2148 } | |
2149 } | |
2150 | |
2151 public static class TestUserDefinedTypeFieldsClassPackBufferUnpack extends org.msgpack.template.builder.TestSet { | |
2152 @Test @Override | |
2153 public void testUserDefinedTypeFieldsClass() throws Exception { | |
2154 super.testUserDefinedTypeFieldsClass(); | |
2155 } | |
2156 | |
2157 @Override | |
2158 public void testUserDefinedTypeFieldsClass(UserDefinedTypeFieldsClass v) throws Exception { | |
2159 MessagePack msgpack = new MessagePack(); | |
2160 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
2161 msgpack.write(out, v); | |
2162 byte[] bytes = out.toByteArray(); | |
2163 UserDefinedTypeFieldsClass ret = msgpack.read(bytes, UserDefinedTypeFieldsClass.class); | |
2164 assertEquals(v, ret); | |
2165 } | |
2166 } | |
2167 | |
2168 public static class TestUserDefinedTypeFieldsClassPackConvert extends org.msgpack.template.builder.TestSet { | |
2169 @Test @Override | |
2170 public void testUserDefinedTypeFieldsClass() throws Exception { | |
2171 super.testUserDefinedTypeFieldsClass(); | |
2172 } | |
2173 | |
2174 @Override | |
2175 public void testUserDefinedTypeFieldsClass(UserDefinedTypeFieldsClass v) throws Exception { | |
2176 MessagePack msgpack = new MessagePack(); | |
2177 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
2178 msgpack.write(out, v); | |
2179 byte[] bytes = out.toByteArray(); | |
2180 Value value = msgpack.read(bytes); | |
2181 UserDefinedTypeFieldsClass ret = msgpack.convert(value, UserDefinedTypeFieldsClass.class); | |
2182 assertEquals(v, ret); | |
2183 } | |
2184 } | |
2185 | |
2186 public static class TestUserDefinedTypeFieldsClassPackUnpack extends org.msgpack.template.builder.TestSet { | |
2187 @Test @Override | |
2188 public void testUserDefinedTypeFieldsClass() throws Exception { | |
2189 super.testUserDefinedTypeFieldsClass(); | |
2190 } | |
2191 | |
2192 @Override | |
2193 public void testUserDefinedTypeFieldsClass(UserDefinedTypeFieldsClass v) throws Exception { | |
2194 MessagePack msgpack = new MessagePack(); | |
2195 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
2196 msgpack.write(out, v); | |
2197 ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray()); | |
2198 UserDefinedTypeFieldsClass ret = msgpack.read(in, UserDefinedTypeFieldsClass.class); | |
2199 assertEquals(v, ret); | |
2200 } | |
2201 } | |
2202 | |
2203 public static class TestUserDefinedTypeFieldsClassUnconvertConvert extends org.msgpack.template.builder.TestSet { | |
2204 @Test @Override | |
2205 public void testUserDefinedTypeFieldsClass() throws Exception { | |
2206 super.testUserDefinedTypeFieldsClass(); | |
2207 } | |
2208 | |
2209 @Override | |
2210 public void testUserDefinedTypeFieldsClass(UserDefinedTypeFieldsClass v) throws Exception { | |
2211 MessagePack msgpack = new MessagePack(); | |
2212 Value value = msgpack.unconvert(v); | |
2213 UserDefinedTypeFieldsClass ret = msgpack.convert(value, UserDefinedTypeFieldsClass.class); | |
2214 assertEquals(v, ret); | |
2215 } | |
2216 } | |
2217 | |
2218 public static class TestUserDefinedTypeFieldsClassNotNullableBufferPackBufferUnpack extends org.msgpack.template.builder.TestSet { | |
2219 @Test @Override | |
2220 public void testUserDefinedTypeFieldsClassNotNullable() throws Exception { | |
2221 super.testUserDefinedTypeFieldsClassNotNullable(); | |
2222 } | |
2223 | |
2224 @Override | |
2225 public void testUserDefinedTypeFieldsClassNotNullable(UserDefinedTypeFieldsClassNotNullable v) throws Exception { | |
2226 MessagePack msgpack = new MessagePack(); | |
2227 byte[] bytes = msgpack.write(v); | |
2228 UserDefinedTypeFieldsClassNotNullable ret = msgpack.read(bytes, UserDefinedTypeFieldsClassNotNullable.class); | |
2229 assertEquals(v, ret); | |
2230 } | |
2231 } | |
2232 | |
2233 public static class TestUserDefinedTypeFieldsClassNotNullableBufferPackConvert extends org.msgpack.template.builder.TestSet { | |
2234 @Test @Override | |
2235 public void testUserDefinedTypeFieldsClassNotNullable() throws Exception { | |
2236 super.testUserDefinedTypeFieldsClassNotNullable(); | |
2237 } | |
2238 | |
2239 @Override | |
2240 public void testUserDefinedTypeFieldsClassNotNullable(UserDefinedTypeFieldsClassNotNullable v) throws Exception { | |
2241 MessagePack msgpack = new MessagePack(); | |
2242 byte[] bytes = msgpack.write(v); | |
2243 Value value = msgpack.read(bytes); | |
2244 UserDefinedTypeFieldsClassNotNullable ret = msgpack.convert(value, UserDefinedTypeFieldsClassNotNullable.class); | |
2245 assertEquals(v, ret); | |
2246 } | |
2247 } | |
2248 | |
2249 public static class TestUserDefinedTypeFieldsClassNotNullableBufferPackUnpack extends org.msgpack.template.builder.TestSet { | |
2250 @Test @Override | |
2251 public void testUserDefinedTypeFieldsClassNotNullable() throws Exception { | |
2252 super.testUserDefinedTypeFieldsClassNotNullable(); | |
2253 } | |
2254 | |
2255 @Override | |
2256 public void testUserDefinedTypeFieldsClassNotNullable(UserDefinedTypeFieldsClassNotNullable v) throws Exception { | |
2257 MessagePack msgpack = new MessagePack(); | |
2258 byte[] bytes = msgpack.write(v); | |
2259 ByteArrayInputStream in = new ByteArrayInputStream(bytes); | |
2260 UserDefinedTypeFieldsClassNotNullable ret = msgpack.read(in, UserDefinedTypeFieldsClassNotNullable.class); | |
2261 assertEquals(v, ret); | |
2262 } | |
2263 } | |
2264 | |
2265 public static class TestUserDefinedTypeFieldsClassNotNullablePackBufferUnpack extends org.msgpack.template.builder.TestSet { | |
2266 @Test @Override | |
2267 public void testUserDefinedTypeFieldsClassNotNullable() throws Exception { | |
2268 super.testUserDefinedTypeFieldsClassNotNullable(); | |
2269 } | |
2270 | |
2271 @Override | |
2272 public void testUserDefinedTypeFieldsClassNotNullable(UserDefinedTypeFieldsClassNotNullable v) throws Exception { | |
2273 MessagePack msgpack = new MessagePack(); | |
2274 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
2275 msgpack.write(out, v); | |
2276 byte[] bytes = out.toByteArray(); | |
2277 UserDefinedTypeFieldsClassNotNullable ret = msgpack.read(bytes, UserDefinedTypeFieldsClassNotNullable.class); | |
2278 assertEquals(v, ret); | |
2279 } | |
2280 } | |
2281 | |
2282 public static class TestUserDefinedTypeFieldsClassNotNullablePackConvert extends org.msgpack.template.builder.TestSet { | |
2283 @Test @Override | |
2284 public void testUserDefinedTypeFieldsClassNotNullable() throws Exception { | |
2285 super.testUserDefinedTypeFieldsClassNotNullable(); | |
2286 } | |
2287 | |
2288 @Override | |
2289 public void testUserDefinedTypeFieldsClassNotNullable(UserDefinedTypeFieldsClassNotNullable v) throws Exception { | |
2290 MessagePack msgpack = new MessagePack(); | |
2291 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
2292 msgpack.write(out, v); | |
2293 byte[] bytes = out.toByteArray(); | |
2294 Value value = msgpack.read(bytes); | |
2295 UserDefinedTypeFieldsClassNotNullable ret = msgpack.convert(value, UserDefinedTypeFieldsClassNotNullable.class); | |
2296 assertEquals(v, ret); | |
2297 } | |
2298 } | |
2299 | |
2300 public static class TestUserDefinedTypeFieldsClassNotNullablePackUnpack extends org.msgpack.template.builder.TestSet { | |
2301 @Test @Override | |
2302 public void testUserDefinedTypeFieldsClassNotNullable() throws Exception { | |
2303 super.testUserDefinedTypeFieldsClassNotNullable(); | |
2304 } | |
2305 | |
2306 @Override | |
2307 public void testUserDefinedTypeFieldsClassNotNullable(UserDefinedTypeFieldsClassNotNullable v) throws Exception { | |
2308 MessagePack msgpack = new MessagePack(); | |
2309 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
2310 msgpack.write(out, v); | |
2311 ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray()); | |
2312 UserDefinedTypeFieldsClassNotNullable ret = msgpack.read(in, UserDefinedTypeFieldsClassNotNullable.class); | |
2313 assertEquals(v, ret); | |
2314 } | |
2315 } | |
2316 | |
2317 public static class TestUserDefinedTypeFieldsClassNotNullableUnconvertConvert extends org.msgpack.template.builder.TestSet { | |
2318 @Test @Override | |
2319 public void testUserDefinedTypeFieldsClassNotNullable() throws Exception { | |
2320 super.testUserDefinedTypeFieldsClassNotNullable(); | |
2321 } | |
2322 | |
2323 @Override | |
2324 public void testUserDefinedTypeFieldsClassNotNullable(UserDefinedTypeFieldsClassNotNullable v) throws Exception { | |
2325 MessagePack msgpack = new MessagePack(); | |
2326 Value value = msgpack.unconvert(v); | |
2327 UserDefinedTypeFieldsClassNotNullable ret = msgpack.convert(value, UserDefinedTypeFieldsClassNotNullable.class); | |
2328 assertEquals(v, ret); | |
2329 } | |
2330 } | |
2331 | |
2332 public static class TestReferenceCycleTypeFieldsClassBufferPackBufferUnpack extends org.msgpack.template.builder.TestSet { | |
2333 @Test @Override | |
2334 public void testReferenceCycleTypeFieldsClass() throws Exception { | |
2335 super.testReferenceCycleTypeFieldsClass(); | |
2336 } | |
2337 | |
2338 @Override | |
2339 public void testReferenceCycleTypeFieldsClass(ReferenceCycleTypeFieldsClass v) throws Exception { | |
2340 MessagePack msgpack = new MessagePack(); | |
2341 byte[] bytes = msgpack.write(v); | |
2342 ReferenceCycleTypeFieldsClass ret = msgpack.read(bytes, ReferenceCycleTypeFieldsClass.class); | |
2343 assertEquals(v, ret); | |
2344 } | |
2345 } | |
2346 | |
2347 public static class TestReferenceCycleTypeFieldsClassBufferPackConvert extends org.msgpack.template.builder.TestSet { | |
2348 @Test @Override | |
2349 public void testReferenceCycleTypeFieldsClass() throws Exception { | |
2350 super.testReferenceCycleTypeFieldsClass(); | |
2351 } | |
2352 | |
2353 @Override | |
2354 public void testReferenceCycleTypeFieldsClass(ReferenceCycleTypeFieldsClass v) throws Exception { | |
2355 MessagePack msgpack = new MessagePack(); | |
2356 byte[] bytes = msgpack.write(v); | |
2357 Value value = msgpack.read(bytes); | |
2358 ReferenceCycleTypeFieldsClass ret = msgpack.convert(value, ReferenceCycleTypeFieldsClass.class); | |
2359 assertEquals(v, ret); | |
2360 } | |
2361 } | |
2362 | |
2363 public static class TestReferenceCycleTypeFieldsClassBufferPackUnpack extends org.msgpack.template.builder.TestSet { | |
2364 @Test @Override | |
2365 public void testReferenceCycleTypeFieldsClass() throws Exception { | |
2366 super.testReferenceCycleTypeFieldsClass(); | |
2367 } | |
2368 | |
2369 @Override | |
2370 public void testReferenceCycleTypeFieldsClass(ReferenceCycleTypeFieldsClass v) throws Exception { | |
2371 MessagePack msgpack = new MessagePack(); | |
2372 byte[] bytes = msgpack.write(v); | |
2373 ByteArrayInputStream in = new ByteArrayInputStream(bytes); | |
2374 ReferenceCycleTypeFieldsClass ret = msgpack.read(in, ReferenceCycleTypeFieldsClass.class); | |
2375 assertEquals(v, ret); | |
2376 } | |
2377 } | |
2378 | |
2379 public static class TestReferenceCycleTypeFieldsClassPackBufferUnpack extends org.msgpack.template.builder.TestSet { | |
2380 @Test @Override | |
2381 public void testReferenceCycleTypeFieldsClass() throws Exception { | |
2382 super.testReferenceCycleTypeFieldsClass(); | |
2383 } | |
2384 | |
2385 @Override | |
2386 public void testReferenceCycleTypeFieldsClass(ReferenceCycleTypeFieldsClass v) throws Exception { | |
2387 MessagePack msgpack = new MessagePack(); | |
2388 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
2389 msgpack.write(out, v); | |
2390 byte[] bytes = out.toByteArray(); | |
2391 ReferenceCycleTypeFieldsClass ret = msgpack.read(bytes, ReferenceCycleTypeFieldsClass.class); | |
2392 assertEquals(v, ret); | |
2393 } | |
2394 } | |
2395 | |
2396 public static class TestReferenceCycleTypeFieldsClassPackConvert extends org.msgpack.template.builder.TestSet { | |
2397 @Test @Override | |
2398 public void testReferenceCycleTypeFieldsClass() throws Exception { | |
2399 super.testReferenceCycleTypeFieldsClass(); | |
2400 } | |
2401 | |
2402 @Override | |
2403 public void testReferenceCycleTypeFieldsClass(ReferenceCycleTypeFieldsClass v) throws Exception { | |
2404 MessagePack msgpack = new MessagePack(); | |
2405 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
2406 msgpack.write(out, v); | |
2407 byte[] bytes = out.toByteArray(); | |
2408 Value value = msgpack.read(bytes); | |
2409 ReferenceCycleTypeFieldsClass ret = msgpack.convert(value, ReferenceCycleTypeFieldsClass.class); | |
2410 assertEquals(v, ret); | |
2411 } | |
2412 } | |
2413 | |
2414 public static class TestReferenceCycleTypeFieldsClassPackUnpack extends org.msgpack.template.builder.TestSet { | |
2415 @Test @Override | |
2416 public void testReferenceCycleTypeFieldsClass() throws Exception { | |
2417 super.testReferenceCycleTypeFieldsClass(); | |
2418 } | |
2419 | |
2420 @Override | |
2421 public void testReferenceCycleTypeFieldsClass(ReferenceCycleTypeFieldsClass v) throws Exception { | |
2422 MessagePack msgpack = new MessagePack(); | |
2423 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
2424 msgpack.write(out, v); | |
2425 ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray()); | |
2426 ReferenceCycleTypeFieldsClass ret = msgpack.read(in, ReferenceCycleTypeFieldsClass.class); | |
2427 assertEquals(v, ret); | |
2428 } | |
2429 } | |
2430 | |
2431 public static class TestReferenceCycleTypeFieldsClassUnconvertConvert extends org.msgpack.template.builder.TestSet { | |
2432 @Test @Override | |
2433 public void testReferenceCycleTypeFieldsClass() throws Exception { | |
2434 super.testReferenceCycleTypeFieldsClass(); | |
2435 } | |
2436 | |
2437 @Override | |
2438 public void testReferenceCycleTypeFieldsClass(ReferenceCycleTypeFieldsClass v) throws Exception { | |
2439 MessagePack msgpack = new MessagePack(); | |
2440 Value value = msgpack.unconvert(v); | |
2441 ReferenceCycleTypeFieldsClass ret = msgpack.convert(value, ReferenceCycleTypeFieldsClass.class); | |
2442 assertEquals(v, ret); | |
2443 } | |
2444 } | |
2445 | |
2446 public static class TestReferenceCycleTypeFieldsClassNotNullableBufferPackBufferUnpack extends org.msgpack.template.builder.TestSet { | |
2447 @Test @Override | |
2448 public void testReferenceCycleTypeFieldsClassNotNullable() throws Exception { | |
2449 super.testReferenceCycleTypeFieldsClassNotNullable(); | |
2450 } | |
2451 | |
2452 @Override | |
2453 public void testReferenceCycleTypeFieldsClassNotNullable(ReferenceCycleTypeFieldsClassNotNullable v) throws Exception { | |
2454 MessagePack msgpack = new MessagePack(); | |
2455 byte[] bytes = msgpack.write(v); | |
2456 ReferenceCycleTypeFieldsClassNotNullable ret = msgpack.read(bytes, ReferenceCycleTypeFieldsClassNotNullable.class); | |
2457 assertEquals(v, ret); | |
2458 } | |
2459 } | |
2460 | |
2461 public static class TestReferenceCycleTypeFieldsClassNotNullableBufferPackConvert extends org.msgpack.template.builder.TestSet { | |
2462 @Test @Override | |
2463 public void testReferenceCycleTypeFieldsClassNotNullable() throws Exception { | |
2464 super.testReferenceCycleTypeFieldsClassNotNullable(); | |
2465 } | |
2466 | |
2467 @Override | |
2468 public void testReferenceCycleTypeFieldsClassNotNullable(ReferenceCycleTypeFieldsClassNotNullable v) throws Exception { | |
2469 MessagePack msgpack = new MessagePack(); | |
2470 byte[] bytes = msgpack.write(v); | |
2471 Value value = msgpack.read(bytes); | |
2472 ReferenceCycleTypeFieldsClassNotNullable ret = msgpack.convert(value, ReferenceCycleTypeFieldsClassNotNullable.class); | |
2473 assertEquals(v, ret); | |
2474 } | |
2475 } | |
2476 | |
2477 public static class TestReferenceCycleTypeFieldsClassNotNullableBufferPackUnpack extends org.msgpack.template.builder.TestSet { | |
2478 @Test @Override | |
2479 public void testReferenceCycleTypeFieldsClassNotNullable() throws Exception { | |
2480 super.testReferenceCycleTypeFieldsClassNotNullable(); | |
2481 } | |
2482 | |
2483 @Override | |
2484 public void testReferenceCycleTypeFieldsClassNotNullable(ReferenceCycleTypeFieldsClassNotNullable v) throws Exception { | |
2485 MessagePack msgpack = new MessagePack(); | |
2486 byte[] bytes = msgpack.write(v); | |
2487 ByteArrayInputStream in = new ByteArrayInputStream(bytes); | |
2488 ReferenceCycleTypeFieldsClassNotNullable ret = msgpack.read(in, ReferenceCycleTypeFieldsClassNotNullable.class); | |
2489 assertEquals(v, ret); | |
2490 } | |
2491 } | |
2492 | |
2493 public static class TestReferenceCycleTypeFieldsClassNotNullablePackBufferUnpack extends org.msgpack.template.builder.TestSet { | |
2494 @Test @Override | |
2495 public void testReferenceCycleTypeFieldsClassNotNullable() throws Exception { | |
2496 super.testReferenceCycleTypeFieldsClassNotNullable(); | |
2497 } | |
2498 | |
2499 @Override | |
2500 public void testReferenceCycleTypeFieldsClassNotNullable(ReferenceCycleTypeFieldsClassNotNullable v) throws Exception { | |
2501 MessagePack msgpack = new MessagePack(); | |
2502 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
2503 msgpack.write(out, v); | |
2504 byte[] bytes = out.toByteArray(); | |
2505 ReferenceCycleTypeFieldsClassNotNullable ret = msgpack.read(bytes, ReferenceCycleTypeFieldsClassNotNullable.class); | |
2506 assertEquals(v, ret); | |
2507 } | |
2508 } | |
2509 | |
2510 public static class TestReferenceCycleTypeFieldsClassNotNullablePackConvert extends org.msgpack.template.builder.TestSet { | |
2511 @Test @Override | |
2512 public void testReferenceCycleTypeFieldsClassNotNullable() throws Exception { | |
2513 super.testReferenceCycleTypeFieldsClassNotNullable(); | |
2514 } | |
2515 | |
2516 @Override | |
2517 public void testReferenceCycleTypeFieldsClassNotNullable(ReferenceCycleTypeFieldsClassNotNullable v) throws Exception { | |
2518 MessagePack msgpack = new MessagePack(); | |
2519 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
2520 msgpack.write(out, v); | |
2521 byte[] bytes = out.toByteArray(); | |
2522 Value value = msgpack.read(bytes); | |
2523 ReferenceCycleTypeFieldsClassNotNullable ret = msgpack.convert(value, ReferenceCycleTypeFieldsClassNotNullable.class); | |
2524 assertEquals(v, ret); | |
2525 } | |
2526 } | |
2527 | |
2528 public static class TestReferenceCycleTypeFieldsClassNotNullablePackUnpack extends org.msgpack.template.builder.TestSet { | |
2529 @Test @Override | |
2530 public void testReferenceCycleTypeFieldsClassNotNullable() throws Exception { | |
2531 super.testReferenceCycleTypeFieldsClassNotNullable(); | |
2532 } | |
2533 | |
2534 @Override | |
2535 public void testReferenceCycleTypeFieldsClassNotNullable(ReferenceCycleTypeFieldsClassNotNullable v) throws Exception { | |
2536 MessagePack msgpack = new MessagePack(); | |
2537 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
2538 msgpack.write(out, v); | |
2539 ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray()); | |
2540 ReferenceCycleTypeFieldsClassNotNullable ret = msgpack.read(in, ReferenceCycleTypeFieldsClassNotNullable.class); | |
2541 assertEquals(v, ret); | |
2542 } | |
2543 } | |
2544 | |
2545 public static class TestReferenceCycleTypeFieldsClassNotNullableUnconvertConvert extends org.msgpack.template.builder.TestSet { | |
2546 @Test @Override | |
2547 public void testReferenceCycleTypeFieldsClassNotNullable() throws Exception { | |
2548 super.testReferenceCycleTypeFieldsClassNotNullable(); | |
2549 } | |
2550 | |
2551 @Override | |
2552 public void testReferenceCycleTypeFieldsClassNotNullable(ReferenceCycleTypeFieldsClassNotNullable v) throws Exception { | |
2553 MessagePack msgpack = new MessagePack(); | |
2554 Value value = msgpack.unconvert(v); | |
2555 ReferenceCycleTypeFieldsClassNotNullable ret = msgpack.convert(value, ReferenceCycleTypeFieldsClassNotNullable.class); | |
2556 assertEquals(v, ret); | |
2557 } | |
2558 } | |
2559 | |
2560 public static class TestIndexedFieldsBeanClassBufferPackBufferUnpack extends org.msgpack.template.builder.TestSet { | |
2561 @Test @Override | |
2562 public void testIndexedFieldsBeanClass() throws Exception { | |
2563 super.testIndexedFieldsBeanClass(); | |
2564 } | |
2565 | |
2566 @Override | |
2567 public void testIndexedFieldsBeanClass(IndexedFieldsBeanClass v) throws Exception { | |
2568 MessagePack msgpack = new MessagePack(); | |
2569 byte[] bytes = msgpack.write(v); | |
2570 IndexedFieldsBeanClass ret = msgpack.read(bytes, IndexedFieldsBeanClass.class); | |
2571 assertEquals(v, ret); | |
2572 } | |
2573 } | |
2574 | |
2575 public static class TestIndexedFieldsBeanClassBufferPackConvert extends org.msgpack.template.builder.TestSet { | |
2576 @Test @Override | |
2577 public void testIndexedFieldsBeanClass() throws Exception { | |
2578 super.testIndexedFieldsBeanClass(); | |
2579 } | |
2580 | |
2581 @Override | |
2582 public void testIndexedFieldsBeanClass(IndexedFieldsBeanClass v) throws Exception { | |
2583 MessagePack msgpack = new MessagePack(); | |
2584 byte[] bytes = msgpack.write(v); | |
2585 Value value = msgpack.read(bytes); | |
2586 IndexedFieldsBeanClass ret = msgpack.convert(value, IndexedFieldsBeanClass.class); | |
2587 assertEquals(v, ret); | |
2588 } | |
2589 } | |
2590 | |
2591 public static class TestIndexedFieldsBeanClassBufferPackUnpack extends org.msgpack.template.builder.TestSet { | |
2592 @Test @Override | |
2593 public void testIndexedFieldsBeanClass() throws Exception { | |
2594 super.testIndexedFieldsBeanClass(); | |
2595 } | |
2596 | |
2597 @Override | |
2598 public void testIndexedFieldsBeanClass(IndexedFieldsBeanClass v) throws Exception { | |
2599 MessagePack msgpack = new MessagePack(); | |
2600 byte[] bytes = msgpack.write(v); | |
2601 ByteArrayInputStream in = new ByteArrayInputStream(bytes); | |
2602 IndexedFieldsBeanClass ret = msgpack.read(in, IndexedFieldsBeanClass.class); | |
2603 assertEquals(v, ret); | |
2604 } | |
2605 } | |
2606 | |
2607 public static class TestIndexedFieldsBeanClassPackBufferUnpack extends org.msgpack.template.builder.TestSet { | |
2608 @Test @Override | |
2609 public void testIndexedFieldsBeanClass() throws Exception { | |
2610 super.testIndexedFieldsBeanClass(); | |
2611 } | |
2612 | |
2613 @Override | |
2614 public void testIndexedFieldsBeanClass(IndexedFieldsBeanClass v) throws Exception { | |
2615 MessagePack msgpack = new MessagePack(); | |
2616 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
2617 msgpack.write(out, v); | |
2618 byte[] bytes = out.toByteArray(); | |
2619 IndexedFieldsBeanClass ret = msgpack.read(bytes, IndexedFieldsBeanClass.class); | |
2620 assertEquals(v, ret); | |
2621 } | |
2622 } | |
2623 | |
2624 public static class TestIndexedFieldsBeanClassPackConvert extends org.msgpack.template.builder.TestSet { | |
2625 @Test @Override | |
2626 public void testIndexedFieldsBeanClass() throws Exception { | |
2627 super.testIndexedFieldsBeanClass(); | |
2628 } | |
2629 | |
2630 @Override | |
2631 public void testIndexedFieldsBeanClass(IndexedFieldsBeanClass v) throws Exception { | |
2632 MessagePack msgpack = new MessagePack(); | |
2633 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
2634 msgpack.write(out, v); | |
2635 byte[] bytes = out.toByteArray(); | |
2636 Value value = msgpack.read(bytes); | |
2637 IndexedFieldsBeanClass ret = msgpack.convert(value, IndexedFieldsBeanClass.class); | |
2638 assertEquals(v, ret); | |
2639 } | |
2640 } | |
2641 | |
2642 public static class TestIndexedFieldsBeanClassPackUnpack extends org.msgpack.template.builder.TestSet { | |
2643 @Test @Override | |
2644 public void testIndexedFieldsBeanClass() throws Exception { | |
2645 super.testIndexedFieldsBeanClass(); | |
2646 } | |
2647 | |
2648 @Override | |
2649 public void testIndexedFieldsBeanClass(IndexedFieldsBeanClass v) throws Exception { | |
2650 MessagePack msgpack = new MessagePack(); | |
2651 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
2652 msgpack.write(out, v); | |
2653 ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray()); | |
2654 IndexedFieldsBeanClass ret = msgpack.read(in, IndexedFieldsBeanClass.class); | |
2655 assertEquals(v, ret); | |
2656 } | |
2657 } | |
2658 | |
2659 public static class TestIndexedFieldsBeanClassUnconvertConvert extends org.msgpack.template.builder.TestSet { | |
2660 @Test @Override | |
2661 public void testIndexedFieldsBeanClass() throws Exception { | |
2662 super.testIndexedFieldsBeanClass(); | |
2663 } | |
2664 | |
2665 @Override | |
2666 public void testIndexedFieldsBeanClass(IndexedFieldsBeanClass v) throws Exception { | |
2667 MessagePack msgpack = new MessagePack(); | |
2668 Value value = msgpack.unconvert(v); | |
2669 IndexedFieldsBeanClass ret = msgpack.convert(value, IndexedFieldsBeanClass.class); | |
2670 assertEquals(v, ret); | |
2671 } | |
2672 } | |
2673 | |
2674 public static class TestIndexedFieldsBeanClassNotNullableBufferPackBufferUnpack extends org.msgpack.template.builder.TestSet { | |
2675 @Test @Override | |
2676 public void testIndexedFieldsBeanClassNotNullable() throws Exception { | |
2677 super.testIndexedFieldsBeanClassNotNullable(); | |
2678 } | |
2679 | |
2680 @Override | |
2681 public void testIndexedFieldsBeanClassNotNullable(IndexedFieldsBeanClassNotNullable v) throws Exception { | |
2682 MessagePack msgpack = new MessagePack(); | |
2683 byte[] bytes = msgpack.write(v); | |
2684 IndexedFieldsBeanClassNotNullable ret = msgpack.read(bytes, IndexedFieldsBeanClassNotNullable.class); | |
2685 assertEquals(v, ret); | |
2686 } | |
2687 } | |
2688 | |
2689 public static class TestIndexedFieldsBeanClassNotNullableBufferPackConvert extends org.msgpack.template.builder.TestSet { | |
2690 @Test @Override | |
2691 public void testIndexedFieldsBeanClassNotNullable() throws Exception { | |
2692 super.testIndexedFieldsBeanClassNotNullable(); | |
2693 } | |
2694 | |
2695 @Override | |
2696 public void testIndexedFieldsBeanClassNotNullable(IndexedFieldsBeanClassNotNullable v) throws Exception { | |
2697 MessagePack msgpack = new MessagePack(); | |
2698 byte[] bytes = msgpack.write(v); | |
2699 Value value = msgpack.read(bytes); | |
2700 IndexedFieldsBeanClassNotNullable ret = msgpack.convert(value, IndexedFieldsBeanClassNotNullable.class); | |
2701 assertEquals(v, ret); | |
2702 } | |
2703 } | |
2704 | |
2705 public static class TestIndexedFieldsBeanClassNotNullableBufferPackUnpack extends org.msgpack.template.builder.TestSet { | |
2706 @Test @Override | |
2707 public void testIndexedFieldsBeanClassNotNullable() throws Exception { | |
2708 super.testIndexedFieldsBeanClassNotNullable(); | |
2709 } | |
2710 | |
2711 @Override | |
2712 public void testIndexedFieldsBeanClassNotNullable(IndexedFieldsBeanClassNotNullable v) throws Exception { | |
2713 MessagePack msgpack = new MessagePack(); | |
2714 byte[] bytes = msgpack.write(v); | |
2715 ByteArrayInputStream in = new ByteArrayInputStream(bytes); | |
2716 IndexedFieldsBeanClassNotNullable ret = msgpack.read(in, IndexedFieldsBeanClassNotNullable.class); | |
2717 assertEquals(v, ret); | |
2718 } | |
2719 } | |
2720 | |
2721 public static class TestIndexedFieldsBeanClassNotNullablePackBufferUnpack extends org.msgpack.template.builder.TestSet { | |
2722 @Test @Override | |
2723 public void testIndexedFieldsBeanClassNotNullable() throws Exception { | |
2724 super.testIndexedFieldsBeanClassNotNullable(); | |
2725 } | |
2726 | |
2727 @Override | |
2728 public void testIndexedFieldsBeanClassNotNullable(IndexedFieldsBeanClassNotNullable v) throws Exception { | |
2729 MessagePack msgpack = new MessagePack(); | |
2730 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
2731 msgpack.write(out, v); | |
2732 byte[] bytes = out.toByteArray(); | |
2733 IndexedFieldsBeanClassNotNullable ret = msgpack.read(bytes, IndexedFieldsBeanClassNotNullable.class); | |
2734 assertEquals(v, ret); | |
2735 } | |
2736 } | |
2737 | |
2738 public static class TestIndexedFieldsBeanClassNotNullablePackConvert extends org.msgpack.template.builder.TestSet { | |
2739 @Test @Override | |
2740 public void testIndexedFieldsBeanClassNotNullable() throws Exception { | |
2741 super.testIndexedFieldsBeanClassNotNullable(); | |
2742 } | |
2743 | |
2744 @Override | |
2745 public void testIndexedFieldsBeanClassNotNullable(IndexedFieldsBeanClassNotNullable v) throws Exception { | |
2746 MessagePack msgpack = new MessagePack(); | |
2747 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
2748 msgpack.write(out, v); | |
2749 byte[] bytes = out.toByteArray(); | |
2750 Value value = msgpack.read(bytes); | |
2751 IndexedFieldsBeanClassNotNullable ret = msgpack.convert(value, IndexedFieldsBeanClassNotNullable.class); | |
2752 assertEquals(v, ret); | |
2753 } | |
2754 } | |
2755 | |
2756 public static class TestIndexedFieldsBeanClassNotNullablePackUnpack extends org.msgpack.template.builder.TestSet { | |
2757 @Test @Override | |
2758 public void testIndexedFieldsBeanClassNotNullable() throws Exception { | |
2759 super.testIndexedFieldsBeanClassNotNullable(); | |
2760 } | |
2761 | |
2762 @Override | |
2763 public void testIndexedFieldsBeanClassNotNullable(IndexedFieldsBeanClassNotNullable v) throws Exception { | |
2764 MessagePack msgpack = new MessagePack(); | |
2765 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
2766 msgpack.write(out, v); | |
2767 ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray()); | |
2768 IndexedFieldsBeanClassNotNullable ret = msgpack.read(in, IndexedFieldsBeanClassNotNullable.class); | |
2769 assertEquals(v, ret); | |
2770 } | |
2771 } | |
2772 | |
2773 public static class TestIndexedFieldsBeanClassNotNullableUnconvertConvert extends org.msgpack.template.builder.TestSet { | |
2774 @Test @Override | |
2775 public void testIndexedFieldsBeanClassNotNullable() throws Exception { | |
2776 super.testIndexedFieldsBeanClassNotNullable(); | |
2777 } | |
2778 | |
2779 @Override | |
2780 public void testIndexedFieldsBeanClassNotNullable(IndexedFieldsBeanClassNotNullable v) throws Exception { | |
2781 MessagePack msgpack = new MessagePack(); | |
2782 Value value = msgpack.unconvert(v); | |
2783 IndexedFieldsBeanClassNotNullable ret = msgpack.convert(value, IndexedFieldsBeanClassNotNullable.class); | |
2784 assertEquals(v, ret); | |
2785 } | |
2786 } | |
2787 | |
2788 public static class TestInheritanceClassBufferPackBufferUnpack extends org.msgpack.template.builder.TestSet { | |
2789 @Test @Override | |
2790 public void testInheritanceClass() throws Exception { | |
2791 super.testInheritanceClass(); | |
2792 } | |
2793 | |
2794 @Override | |
2795 public void testInheritanceClass(InheritanceClass v) throws Exception { | |
2796 MessagePack msgpack = new MessagePack(); | |
2797 byte[] bytes = msgpack.write(v); | |
2798 InheritanceClass ret = msgpack.read(bytes, InheritanceClass.class); | |
2799 assertEquals(v, ret); | |
2800 } | |
2801 } | |
2802 | |
2803 public static class TestInheritanceClassBufferPackConvert extends org.msgpack.template.builder.TestSet { | |
2804 @Test @Override | |
2805 public void testInheritanceClass() throws Exception { | |
2806 super.testInheritanceClass(); | |
2807 } | |
2808 | |
2809 @Override | |
2810 public void testInheritanceClass(InheritanceClass v) throws Exception { | |
2811 MessagePack msgpack = new MessagePack(); | |
2812 byte[] bytes = msgpack.write(v); | |
2813 Value value = msgpack.read(bytes); | |
2814 InheritanceClass ret = msgpack.convert(value, InheritanceClass.class); | |
2815 assertEquals(v, ret); | |
2816 } | |
2817 } | |
2818 | |
2819 public static class TestInheritanceClassBufferPackUnpack extends org.msgpack.template.builder.TestSet { | |
2820 @Test @Override | |
2821 public void testInheritanceClass() throws Exception { | |
2822 super.testInheritanceClass(); | |
2823 } | |
2824 | |
2825 @Override | |
2826 public void testInheritanceClass(InheritanceClass v) throws Exception { | |
2827 MessagePack msgpack = new MessagePack(); | |
2828 byte[] bytes = msgpack.write(v); | |
2829 ByteArrayInputStream in = new ByteArrayInputStream(bytes); | |
2830 InheritanceClass ret = msgpack.read(in, InheritanceClass.class); | |
2831 assertEquals(v, ret); | |
2832 } | |
2833 } | |
2834 | |
2835 public static class TestInheritanceClassPackBufferUnpack extends org.msgpack.template.builder.TestSet { | |
2836 @Test @Override | |
2837 public void testInheritanceClass() throws Exception { | |
2838 super.testInheritanceClass(); | |
2839 } | |
2840 | |
2841 @Override | |
2842 public void testInheritanceClass(InheritanceClass v) throws Exception { | |
2843 MessagePack msgpack = new MessagePack(); | |
2844 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
2845 msgpack.write(out, v); | |
2846 byte[] bytes = out.toByteArray(); | |
2847 InheritanceClass ret = msgpack.read(bytes, InheritanceClass.class); | |
2848 assertEquals(v, ret); | |
2849 } | |
2850 } | |
2851 | |
2852 public static class TestInheritanceClassPackConvert extends org.msgpack.template.builder.TestSet { | |
2853 @Test @Override | |
2854 public void testInheritanceClass() throws Exception { | |
2855 super.testInheritanceClass(); | |
2856 } | |
2857 | |
2858 @Override | |
2859 public void testInheritanceClass(InheritanceClass v) throws Exception { | |
2860 MessagePack msgpack = new MessagePack(); | |
2861 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
2862 msgpack.write(out, v); | |
2863 byte[] bytes = out.toByteArray(); | |
2864 Value value = msgpack.read(bytes); | |
2865 InheritanceClass ret = msgpack.convert(value, InheritanceClass.class); | |
2866 assertEquals(v, ret); | |
2867 } | |
2868 } | |
2869 | |
2870 public static class TestInheritanceClassPackUnpack extends org.msgpack.template.builder.TestSet { | |
2871 @Test @Override | |
2872 public void testInheritanceClass() throws Exception { | |
2873 super.testInheritanceClass(); | |
2874 } | |
2875 | |
2876 @Override | |
2877 public void testInheritanceClass(InheritanceClass v) throws Exception { | |
2878 MessagePack msgpack = new MessagePack(); | |
2879 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
2880 msgpack.write(out, v); | |
2881 ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray()); | |
2882 InheritanceClass ret = msgpack.read(in, InheritanceClass.class); | |
2883 assertEquals(v, ret); | |
2884 } | |
2885 } | |
2886 | |
2887 public static class TestInheritanceClassUnconvertConvert extends org.msgpack.template.builder.TestSet { | |
2888 @Test @Override | |
2889 public void testInheritanceClass() throws Exception { | |
2890 super.testInheritanceClass(); | |
2891 } | |
2892 | |
2893 @Override | |
2894 public void testInheritanceClass(InheritanceClass v) throws Exception { | |
2895 MessagePack msgpack = new MessagePack(); | |
2896 Value value = msgpack.unconvert(v); | |
2897 InheritanceClass ret = msgpack.convert(value, InheritanceClass.class); | |
2898 assertEquals(v, ret); | |
2899 } | |
2900 } | |
2901 | |
2902 public static class TestInheritanceClassNotNullableBufferPackBufferUnpack extends org.msgpack.template.builder.TestSet { | |
2903 @Test @Override | |
2904 public void testInheritanceClassNotNullable() throws Exception { | |
2905 super.testInheritanceClassNotNullable(); | |
2906 } | |
2907 | |
2908 @Override | |
2909 public void testInheritanceClassNotNullable(InheritanceClassNotNullable v) throws Exception { | |
2910 MessagePack msgpack = new MessagePack(); | |
2911 byte[] bytes = msgpack.write(v); | |
2912 InheritanceClassNotNullable ret = msgpack.read(bytes, InheritanceClassNotNullable.class); | |
2913 assertEquals(v, ret); | |
2914 } | |
2915 } | |
2916 | |
2917 public static class TestInheritanceClassNotNullableBufferPackConvert extends org.msgpack.template.builder.TestSet { | |
2918 @Test @Override | |
2919 public void testInheritanceClassNotNullable() throws Exception { | |
2920 super.testInheritanceClassNotNullable(); | |
2921 } | |
2922 | |
2923 @Override | |
2924 public void testInheritanceClassNotNullable(InheritanceClassNotNullable v) throws Exception { | |
2925 MessagePack msgpack = new MessagePack(); | |
2926 byte[] bytes = msgpack.write(v); | |
2927 Value value = msgpack.read(bytes); | |
2928 InheritanceClassNotNullable ret = msgpack.convert(value, InheritanceClassNotNullable.class); | |
2929 assertEquals(v, ret); | |
2930 } | |
2931 } | |
2932 | |
2933 public static class TestInheritanceClassNotNullableBufferPackUnpack extends org.msgpack.template.builder.TestSet { | |
2934 @Test @Override | |
2935 public void testInheritanceClassNotNullable() throws Exception { | |
2936 super.testInheritanceClassNotNullable(); | |
2937 } | |
2938 | |
2939 @Override | |
2940 public void testInheritanceClassNotNullable(InheritanceClassNotNullable v) throws Exception { | |
2941 MessagePack msgpack = new MessagePack(); | |
2942 byte[] bytes = msgpack.write(v); | |
2943 ByteArrayInputStream in = new ByteArrayInputStream(bytes); | |
2944 InheritanceClassNotNullable ret = msgpack.read(in, InheritanceClassNotNullable.class); | |
2945 assertEquals(v, ret); | |
2946 } | |
2947 } | |
2948 | |
2949 public static class TestInheritanceClassNotNullablePackBufferUnpack extends org.msgpack.template.builder.TestSet { | |
2950 @Test @Override | |
2951 public void testInheritanceClassNotNullable() throws Exception { | |
2952 super.testInheritanceClassNotNullable(); | |
2953 } | |
2954 | |
2955 @Override | |
2956 public void testInheritanceClassNotNullable(InheritanceClassNotNullable v) throws Exception { | |
2957 MessagePack msgpack = new MessagePack(); | |
2958 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
2959 msgpack.write(out, v); | |
2960 byte[] bytes = out.toByteArray(); | |
2961 InheritanceClassNotNullable ret = msgpack.read(bytes, InheritanceClassNotNullable.class); | |
2962 assertEquals(v, ret); | |
2963 } | |
2964 } | |
2965 | |
2966 public static class TestInheritanceClassNotNullablePackConvert extends org.msgpack.template.builder.TestSet { | |
2967 @Test @Override | |
2968 public void testInheritanceClassNotNullable() throws Exception { | |
2969 super.testInheritanceClassNotNullable(); | |
2970 } | |
2971 | |
2972 @Override | |
2973 public void testInheritanceClassNotNullable(InheritanceClassNotNullable v) throws Exception { | |
2974 MessagePack msgpack = new MessagePack(); | |
2975 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
2976 msgpack.write(out, v); | |
2977 byte[] bytes = out.toByteArray(); | |
2978 Value value = msgpack.read(bytes); | |
2979 InheritanceClassNotNullable ret = msgpack.convert(value, InheritanceClassNotNullable.class); | |
2980 assertEquals(v, ret); | |
2981 } | |
2982 } | |
2983 | |
2984 public static class TestInheritanceClassNotNullablePackUnpack extends org.msgpack.template.builder.TestSet { | |
2985 @Test @Override | |
2986 public void testInheritanceClassNotNullable() throws Exception { | |
2987 super.testInheritanceClassNotNullable(); | |
2988 } | |
2989 | |
2990 @Override | |
2991 public void testInheritanceClassNotNullable(InheritanceClassNotNullable v) throws Exception { | |
2992 MessagePack msgpack = new MessagePack(); | |
2993 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
2994 msgpack.write(out, v); | |
2995 ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray()); | |
2996 InheritanceClassNotNullable ret = msgpack.read(in, InheritanceClassNotNullable.class); | |
2997 assertEquals(v, ret); | |
2998 } | |
2999 } | |
3000 | |
3001 public static class TestInheritanceClassNotNullableUnconvertConvert extends org.msgpack.template.builder.TestSet { | |
3002 @Test @Override | |
3003 public void testInheritanceClassNotNullable() throws Exception { | |
3004 super.testInheritanceClassNotNullable(); | |
3005 } | |
3006 | |
3007 @Override | |
3008 public void testInheritanceClassNotNullable(InheritanceClassNotNullable v) throws Exception { | |
3009 MessagePack msgpack = new MessagePack(); | |
3010 Value value = msgpack.unconvert(v); | |
3011 InheritanceClassNotNullable ret = msgpack.convert(value, InheritanceClassNotNullable.class); | |
3012 assertEquals(v, ret); | |
3013 } | |
3014 } | |
3015 | |
3016 public static class TestMessagePackableTypeFieldsClassBufferPackBufferUnpack extends org.msgpack.template.builder.TestSet { | |
3017 @Test @Override | |
3018 public void testMessagePackableTypeFieldsClass() throws Exception { | |
3019 super.testMessagePackableTypeFieldsClass(); | |
3020 } | |
3021 | |
3022 @Override | |
3023 public void testMessagePackableTypeFieldsClass(MessagePackableTypeFieldsClass v) throws Exception { | |
3024 MessagePack msgpack = new MessagePack(); | |
3025 byte[] bytes = msgpack.write(v); | |
3026 MessagePackableTypeFieldsClass ret = msgpack.read(bytes, MessagePackableTypeFieldsClass.class); | |
3027 assertEquals(v, ret); | |
3028 } | |
3029 } | |
3030 | |
3031 public static class TestMessagePackableTypeFieldsClassBufferPackConvert extends org.msgpack.template.builder.TestSet { | |
3032 @Test @Override | |
3033 public void testMessagePackableTypeFieldsClass() throws Exception { | |
3034 super.testMessagePackableTypeFieldsClass(); | |
3035 } | |
3036 | |
3037 @Override | |
3038 public void testMessagePackableTypeFieldsClass(MessagePackableTypeFieldsClass v) throws Exception { | |
3039 MessagePack msgpack = new MessagePack(); | |
3040 byte[] bytes = msgpack.write(v); | |
3041 Value value = msgpack.read(bytes); | |
3042 MessagePackableTypeFieldsClass ret = msgpack.convert(value, MessagePackableTypeFieldsClass.class); | |
3043 assertEquals(v, ret); | |
3044 } | |
3045 } | |
3046 | |
3047 public static class TestMessagePackableTypeFieldsClassBufferPackUnpack extends org.msgpack.template.builder.TestSet { | |
3048 @Test @Override | |
3049 public void testMessagePackableTypeFieldsClass() throws Exception { | |
3050 super.testMessagePackableTypeFieldsClass(); | |
3051 } | |
3052 | |
3053 @Override | |
3054 public void testMessagePackableTypeFieldsClass(MessagePackableTypeFieldsClass v) throws Exception { | |
3055 MessagePack msgpack = new MessagePack(); | |
3056 byte[] bytes = msgpack.write(v); | |
3057 ByteArrayInputStream in = new ByteArrayInputStream(bytes); | |
3058 MessagePackableTypeFieldsClass ret = msgpack.read(in, MessagePackableTypeFieldsClass.class); | |
3059 assertEquals(v, ret); | |
3060 } | |
3061 } | |
3062 | |
3063 public static class TestMessagePackableTypeFieldsClassPackBufferUnpack extends org.msgpack.template.builder.TestSet { | |
3064 @Test @Override | |
3065 public void testMessagePackableTypeFieldsClass() throws Exception { | |
3066 super.testMessagePackableTypeFieldsClass(); | |
3067 } | |
3068 | |
3069 @Override | |
3070 public void testMessagePackableTypeFieldsClass(MessagePackableTypeFieldsClass v) throws Exception { | |
3071 MessagePack msgpack = new MessagePack(); | |
3072 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
3073 msgpack.write(out, v); | |
3074 byte[] bytes = out.toByteArray(); | |
3075 MessagePackableTypeFieldsClass ret = msgpack.read(bytes, MessagePackableTypeFieldsClass.class); | |
3076 assertEquals(v, ret); | |
3077 } | |
3078 } | |
3079 | |
3080 public static class TestMessagePackableTypeFieldsClassPackConvert extends org.msgpack.template.builder.TestSet { | |
3081 @Test @Override | |
3082 public void testMessagePackableTypeFieldsClass() throws Exception { | |
3083 super.testMessagePackableTypeFieldsClass(); | |
3084 } | |
3085 | |
3086 @Override | |
3087 public void testMessagePackableTypeFieldsClass(MessagePackableTypeFieldsClass v) throws Exception { | |
3088 MessagePack msgpack = new MessagePack(); | |
3089 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
3090 msgpack.write(out, v); | |
3091 byte[] bytes = out.toByteArray(); | |
3092 Value value = msgpack.read(bytes); | |
3093 MessagePackableTypeFieldsClass ret = msgpack.convert(value, MessagePackableTypeFieldsClass.class); | |
3094 assertEquals(v, ret); | |
3095 } | |
3096 } | |
3097 | |
3098 public static class TestMessagePackableTypeFieldsClassPackUnpack extends org.msgpack.template.builder.TestSet { | |
3099 @Test @Override | |
3100 public void testMessagePackableTypeFieldsClass() throws Exception { | |
3101 super.testMessagePackableTypeFieldsClass(); | |
3102 } | |
3103 | |
3104 @Override | |
3105 public void testMessagePackableTypeFieldsClass(MessagePackableTypeFieldsClass v) throws Exception { | |
3106 MessagePack msgpack = new MessagePack(); | |
3107 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
3108 msgpack.write(out, v); | |
3109 ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray()); | |
3110 MessagePackableTypeFieldsClass ret = msgpack.read(in, MessagePackableTypeFieldsClass.class); | |
3111 assertEquals(v, ret); | |
3112 } | |
3113 } | |
3114 | |
3115 public static class TestMessagePackableTypeFieldsClassUnconvertConvert extends org.msgpack.template.builder.TestSet { | |
3116 @Test @Override | |
3117 public void testMessagePackableTypeFieldsClass() throws Exception { | |
3118 super.testMessagePackableTypeFieldsClass(); | |
3119 } | |
3120 | |
3121 @Override | |
3122 public void testMessagePackableTypeFieldsClass(MessagePackableTypeFieldsClass v) throws Exception { | |
3123 MessagePack msgpack = new MessagePack(); | |
3124 Value value = msgpack.unconvert(v); | |
3125 MessagePackableTypeFieldsClass ret = msgpack.convert(value, MessagePackableTypeFieldsClass.class); | |
3126 assertEquals(v, ret); | |
3127 } | |
3128 } | |
3129 | |
3130 public static class TestMessagePackableTypeFieldsClassNotNullableBufferPackBufferUnpack extends org.msgpack.template.builder.TestSet { | |
3131 @Test @Override | |
3132 public void testMessagePackableTypeFieldsClassNotNullable() throws Exception { | |
3133 super.testMessagePackableTypeFieldsClassNotNullable(); | |
3134 } | |
3135 | |
3136 @Override | |
3137 public void testMessagePackableTypeFieldsClassNotNullable(MessagePackableTypeFieldsClassNotNullable v) throws Exception { | |
3138 MessagePack msgpack = new MessagePack(); | |
3139 byte[] bytes = msgpack.write(v); | |
3140 MessagePackableTypeFieldsClassNotNullable ret = msgpack.read(bytes, MessagePackableTypeFieldsClassNotNullable.class); | |
3141 assertEquals(v, ret); | |
3142 } | |
3143 } | |
3144 | |
3145 public static class TestMessagePackableTypeFieldsClassNotNullableBufferPackConvert extends org.msgpack.template.builder.TestSet { | |
3146 @Test @Override | |
3147 public void testMessagePackableTypeFieldsClassNotNullable() throws Exception { | |
3148 super.testMessagePackableTypeFieldsClassNotNullable(); | |
3149 } | |
3150 | |
3151 @Override | |
3152 public void testMessagePackableTypeFieldsClassNotNullable(MessagePackableTypeFieldsClassNotNullable v) throws Exception { | |
3153 MessagePack msgpack = new MessagePack(); | |
3154 byte[] bytes = msgpack.write(v); | |
3155 Value value = msgpack.read(bytes); | |
3156 MessagePackableTypeFieldsClassNotNullable ret = msgpack.convert(value, MessagePackableTypeFieldsClassNotNullable.class); | |
3157 assertEquals(v, ret); | |
3158 } | |
3159 } | |
3160 | |
3161 public static class TestMessagePackableTypeFieldsClassNotNullableBufferPackUnpack extends org.msgpack.template.builder.TestSet { | |
3162 @Test @Override | |
3163 public void testMessagePackableTypeFieldsClassNotNullable() throws Exception { | |
3164 super.testMessagePackableTypeFieldsClassNotNullable(); | |
3165 } | |
3166 | |
3167 @Override | |
3168 public void testMessagePackableTypeFieldsClassNotNullable(MessagePackableTypeFieldsClassNotNullable v) throws Exception { | |
3169 MessagePack msgpack = new MessagePack(); | |
3170 byte[] bytes = msgpack.write(v); | |
3171 ByteArrayInputStream in = new ByteArrayInputStream(bytes); | |
3172 MessagePackableTypeFieldsClassNotNullable ret = msgpack.read(in, MessagePackableTypeFieldsClassNotNullable.class); | |
3173 assertEquals(v, ret); | |
3174 } | |
3175 } | |
3176 | |
3177 public static class TestMessagePackableTypeFieldsClassNotNullablePackBufferUnpack extends org.msgpack.template.builder.TestSet { | |
3178 @Test @Override | |
3179 public void testMessagePackableTypeFieldsClassNotNullable() throws Exception { | |
3180 super.testMessagePackableTypeFieldsClassNotNullable(); | |
3181 } | |
3182 | |
3183 @Override | |
3184 public void testMessagePackableTypeFieldsClassNotNullable(MessagePackableTypeFieldsClassNotNullable v) throws Exception { | |
3185 MessagePack msgpack = new MessagePack(); | |
3186 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
3187 msgpack.write(out, v); | |
3188 byte[] bytes = out.toByteArray(); | |
3189 MessagePackableTypeFieldsClassNotNullable ret = msgpack.read(bytes, MessagePackableTypeFieldsClassNotNullable.class); | |
3190 assertEquals(v, ret); | |
3191 } | |
3192 } | |
3193 | |
3194 public static class TestMessagePackableTypeFieldsClassNotNullablePackConvert extends org.msgpack.template.builder.TestSet { | |
3195 @Test @Override | |
3196 public void testMessagePackableTypeFieldsClassNotNullable() throws Exception { | |
3197 super.testMessagePackableTypeFieldsClassNotNullable(); | |
3198 } | |
3199 | |
3200 @Override | |
3201 public void testMessagePackableTypeFieldsClassNotNullable(MessagePackableTypeFieldsClassNotNullable v) throws Exception { | |
3202 MessagePack msgpack = new MessagePack(); | |
3203 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
3204 msgpack.write(out, v); | |
3205 byte[] bytes = out.toByteArray(); | |
3206 Value value = msgpack.read(bytes); | |
3207 MessagePackableTypeFieldsClassNotNullable ret = msgpack.convert(value, MessagePackableTypeFieldsClassNotNullable.class); | |
3208 assertEquals(v, ret); | |
3209 } | |
3210 } | |
3211 | |
3212 public static class TestMessagePackableTypeFieldsClassNotNullablePackUnpack extends org.msgpack.template.builder.TestSet { | |
3213 @Test @Override | |
3214 public void testMessagePackableTypeFieldsClassNotNullable() throws Exception { | |
3215 super.testMessagePackableTypeFieldsClassNotNullable(); | |
3216 } | |
3217 | |
3218 @Override | |
3219 public void testMessagePackableTypeFieldsClassNotNullable(MessagePackableTypeFieldsClassNotNullable v) throws Exception { | |
3220 MessagePack msgpack = new MessagePack(); | |
3221 ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
3222 msgpack.write(out, v); | |
3223 ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray()); | |
3224 MessagePackableTypeFieldsClassNotNullable ret = msgpack.read(in, MessagePackableTypeFieldsClassNotNullable.class); | |
3225 assertEquals(v, ret); | |
3226 } | |
3227 } | |
3228 | |
3229 public static class TestMessagePackableTypeFieldsClassNotNullableUnconvertConvert extends org.msgpack.template.builder.TestSet { | |
3230 @Test @Override | |
3231 public void testMessagePackableTypeFieldsClassNotNullable() throws Exception { | |
3232 super.testMessagePackableTypeFieldsClassNotNullable(); | |
3233 } | |
3234 | |
3235 @Override | |
3236 public void testMessagePackableTypeFieldsClassNotNullable(MessagePackableTypeFieldsClassNotNullable v) throws Exception { | |
3237 MessagePack msgpack = new MessagePack(); | |
3238 Value value = msgpack.unconvert(v); | |
3239 MessagePackableTypeFieldsClassNotNullable ret = msgpack.convert(value, MessagePackableTypeFieldsClassNotNullable.class); | |
3240 assertEquals(v, ret); | |
3241 } | |
3242 } | |
3243 | |
3244 } |