Skip to content

Commit 499a9f4

Browse files
committed
modified TestSimpleArrays class
1 parent 6722bb9 commit 499a9f4

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/test/java/org/msgpack/TestSimpleArrays.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,14 +267,13 @@ public static class Dim2Test {
267267
public int[][] i;
268268
public byte[][] b;
269269
public String[][] str;
270-
public List<String>[][] slist;
270+
//public List<String>[][] slist;
271271

272272
public Dim2Test() {
273273
}
274274
}
275275

276276
@SuppressWarnings({ "unchecked", "rawtypes" })
277-
@Ignore
278277
@Test
279278
public void testDim2() throws Exception {
280279
MessagePack msgpack = new MessagePack();
@@ -288,6 +287,7 @@ public void testDim2() throws Exception {
288287
t.str = new String[2][];
289288
t.str[0] = new String[] { "aa", "bb" };
290289
t.str[1] = new String[] { "cc", "dd", "ee" };
290+
/**
291291
t.slist = new List[2][];
292292
t.slist[0] = new List[1];
293293
t.slist[0][0] = new ArrayList();
@@ -300,6 +300,7 @@ public void testDim2() throws Exception {
300300
t.slist[1][1] = new ArrayList();
301301
t.slist[1][1].add("jj");
302302
t.slist[1][1].add("kk");
303+
*/
303304

304305
BufferPacker packer = msgpack.createBufferPacker();
305306
packer.write(t);
@@ -327,6 +328,7 @@ public void testDim2() throws Exception {
327328
assertEquals(t.str[i][j], u.str[i][j]);
328329
}
329330
}
331+
/**
330332
assertEquals(t.slist.length, u.slist.length);
331333
for (int i = 0; i < t.slist.length; i++) {
332334
assertEquals(t.slist[i].length, u.slist[i].length);
@@ -337,6 +339,7 @@ public void testDim2() throws Exception {
337339
}
338340
}
339341
}
342+
*/
340343
}
341344

342345
@Message

0 commit comments

Comments
 (0)