summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-07-03 10:30:43 +0300
committerLeif Åstrand <leif@vaadin.com>2012-07-03 10:30:43 +0300
commitcbb6310058903ac5e994494ccee78363e0682505 (patch)
tree23b843d7ff09cc5543bd5a2b50ae371155b8e885 /tests
parentd948c23bf48ec0cfb4f090f27de468bf59ee71db (diff)
downloadvaadin-framework-cbb6310058903ac5e994494ccee78363e0682505.tar.gz
vaadin-framework-cbb6310058903ac5e994494ccee78363e0682505.zip
Support array as a generic type parameter (#8861)
Diffstat (limited to 'tests')
-rw-r--r--tests/testbench/com/vaadin/tests/serialization/SerializerTest.java19
1 files changed, 10 insertions, 9 deletions
diff --git a/tests/testbench/com/vaadin/tests/serialization/SerializerTest.java b/tests/testbench/com/vaadin/tests/serialization/SerializerTest.java
index d0b672fbf9..881a3c3be1 100644
--- a/tests/testbench/com/vaadin/tests/serialization/SerializerTest.java
+++ b/tests/testbench/com/vaadin/tests/serialization/SerializerTest.java
@@ -63,13 +63,12 @@ public class SerializerTest extends AbstractTestRoot {
rpc.sendList(Arrays.asList(5, 8, -234), Arrays.<Connector> asList(this,
testExtension), Arrays.asList(new SimpleTestBean(234),
new SimpleTestBean(-568)));
- // Disabled because of #8861
- // rpc.sendArrayList(
- // Arrays.asList(new int[] { 1, 2 }, new int[] { 3, 4 }),
- // Arrays.asList(new Integer[] { 5, 6 }, new Integer[] { 7, 8 }),
- // Collections
- // .singletonList(new SimpleTestBean[] { new SimpleTestBean(
- // 7) }));
+ rpc.sendArrayList(
+ Arrays.asList(new int[] { 1, 2 }, new int[] { 3, 4 }),
+ Arrays.asList(new Integer[] { 5, 6 }, new Integer[] { 7, 8 }),
+ Collections
+ .singletonList(new SimpleTestBean[] { new SimpleTestBean(
+ 7) }));
// Disabled because of #8861
// rpc.sendListArray(
// new List[] { Arrays.asList(1, 2), Arrays.asList(3, 4) },
@@ -199,8 +198,10 @@ public class SerializerTest extends AbstractTestRoot {
public void sendArrayList(List<int[]> primitiveArrayList,
List<Integer[]> objectArrayList,
List<SimpleTestBean[]> beanArrayList) {
- log.log("sendArrayList: " + primitiveArrayList + ", "
- + objectArrayList + ", " + beanArrayList);
+ log.log("sendArrayList: "
+ + Arrays.deepToString(primitiveArrayList.toArray())
+ + ", " + Arrays.deepToString(objectArrayList.toArray())
+ + ", " + Arrays.deepToString(beanArrayList.toArray()));
}
public void sendListArray(List<Integer>[] objectListArray,