diff options
Diffstat (limited to 'uitest/src/com/vaadin/tests/serialization/SerializerTestTest.java')
-rw-r--r-- | uitest/src/com/vaadin/tests/serialization/SerializerTestTest.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/serialization/SerializerTestTest.java b/uitest/src/com/vaadin/tests/serialization/SerializerTestTest.java index 8f1bcb6266..b2eb0e6b01 100644 --- a/uitest/src/com/vaadin/tests/serialization/SerializerTestTest.java +++ b/uitest/src/com/vaadin/tests/serialization/SerializerTestTest.java @@ -30,6 +30,9 @@ public class SerializerTestTest extends MultiBrowserTest { Assert.assertEquals( "sendJson: {\"b\":false,\"s\":\"JSON\"}, null, \"value\"", getLogRow(logRow++)); + Assert.assertEquals( + "sendDateArray: January 31, 2013 10:00:00 PM UTC January 31, 2012 10:00:00 PM UTC", + getLogRow(logRow++)); Assert.assertEquals("sendDate: May 31, 2013 8:12:13 AM UTC", getLogRow(logRow++)); Assert.assertEquals("sendDate: January 1, 1970 12:00:00 AM UTC", @@ -80,6 +83,13 @@ public class SerializerTestTest extends MultiBrowserTest { "sendBoolean: false, false, [false, false, true, false, true, true]", getLogRow(logRow++)); Assert.assertEquals("sendBeanSubclass: 43", getLogRow(logRow++)); + Assert.assertEquals( + "state.dateArray: Thu Jan 01 02:00:00 GMT+200 1970 Thu Jan 01 02:00:00 GMT+200 1970", + getLogRow(logRow++)); + Assert.assertEquals("state.date2: Fri May 31 11:12:13 GMT+300 2013", + getLogRow(logRow++)); + Assert.assertEquals("state.date1: Thu Jan 01 02:00:00 GMT+200 1970", + getLogRow(logRow++)); Assert.assertEquals("state.jsonBoolean: false", getLogRow(logRow++)); Assert.assertEquals("state.jsonString: a string", getLogRow(logRow++)); Assert.assertEquals("state.jsonNull: NULL", getLogRow(logRow++)); |