diff options
author | Denis Anisimov <denis@vaadin.com> | 2016-10-31 09:10:02 +0200 |
---|---|---|
committer | Denis Anisimov <denis@vaadin.com> | 2016-10-31 09:10:02 +0200 |
commit | 66724b35c5d82cc084974db28b84fc41e79bb8f3 (patch) | |
tree | c8ea32ffe90f4cd14f2cbd21daee91ed583a94cc /compatibility-server | |
parent | 1e978a6ba0924c240803543a31d024b7c649f4ce (diff) | |
download | vaadin-framework-66724b35c5d82cc084974db28b84fc41e79bb8f3.tar.gz vaadin-framework-66724b35c5d82cc084974db28b84fc41e79bb8f3.zip |
Date/time issues are fixed in the tests.
- legacy DateField declarative format tests are fixed (day light saving
time is taken into account).
- CalendarMonthViewDndEvent UI because you are not supposed to work on
Sundays (when the test is broken).
Change-Id: If7ddf238a7fab104514211df4a12fa6d071f5af2
Diffstat (limited to 'compatibility-server')
-rw-r--r-- | compatibility-server/src/test/java/com/vaadin/v7/tests/server/component/datefield/LegacyDateFieldDeclarativeTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compatibility-server/src/test/java/com/vaadin/v7/tests/server/component/datefield/LegacyDateFieldDeclarativeTest.java b/compatibility-server/src/test/java/com/vaadin/v7/tests/server/component/datefield/LegacyDateFieldDeclarativeTest.java index e9b7ac7959..d55825aa08 100644 --- a/compatibility-server/src/test/java/com/vaadin/v7/tests/server/component/datefield/LegacyDateFieldDeclarativeTest.java +++ b/compatibility-server/src/test/java/com/vaadin/v7/tests/server/component/datefield/LegacyDateFieldDeclarativeTest.java @@ -46,7 +46,8 @@ public class LegacyDateFieldDeclarativeTest } private String getTimezoneDesign() { - String timeZone = new SimpleDateFormat("Z").format(new Date()); + String timeZone = new SimpleDateFormat("Z") + .format(new Date(2014 - 1900, 5 - 1, 5)); return String.format( "<vaadin7-date-field range-start=\"2014-05-05 00:00:00%1$s\" range-end=\"2014-06-05 00:00:00%1$s\" date-out-of-range-message=\"Please select a sensible date\" date-format=\"yyyy-MM-dd\" lenient show-iso-week-numbers parse-error-message=\"You are doing it wrong\" time-zone=\"GMT+05:00\" value=\"2014-05-15 00:00:00%1$s\"/>", timeZone); |