summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonatan Kronqvist <jonatan@vaadin.com>2013-09-03 09:37:26 +0300
committerJonatan Kronqvist <jonatan@vaadin.com>2013-09-03 09:37:26 +0300
commit4c5bb0e1d5920682604d69ba49d936316da54c70 (patch)
tree7b10790860c29387bf4307a2ac7df751bcc43a1a
parentcb8df753212908cb67aebd550d45ee8d8083ff89 (diff)
downloadvaadin-framework-4c5bb0e1d5920682604d69ba49d936316da54c70.tar.gz
vaadin-framework-4c5bb0e1d5920682604d69ba49d936316da54c70.zip
Sets the locale in the test case. #12460
TestHideTimeAndSeparator didn't specify a locale, which caused it to fail if the locale on the system where it ran was different from the one on the system where the test was created. Change-Id: I44de92c68954eac425308eeaf7e07e76c717f2bf
-rw-r--r--uitest/src/com/vaadin/tests/components/calendar/TestHideTimeAndSeparator.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/components/calendar/TestHideTimeAndSeparator.java b/uitest/src/com/vaadin/tests/components/calendar/TestHideTimeAndSeparator.java
index d82e75c94d..b8b55048f9 100644
--- a/uitest/src/com/vaadin/tests/components/calendar/TestHideTimeAndSeparator.java
+++ b/uitest/src/com/vaadin/tests/components/calendar/TestHideTimeAndSeparator.java
@@ -10,6 +10,7 @@ import com.vaadin.ui.components.calendar.event.CalendarEventProvider;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
+import java.util.Locale;
@Theme("tests-calendar")
public class TestHideTimeAndSeparator extends AbstractTestUI {
@@ -70,6 +71,8 @@ public class TestHideTimeAndSeparator extends AbstractTestUI {
cal.setWidth("100%");
cal.setHeight("500px");
+ cal.setLocale(Locale.US);
+
cal.addEvent(shortEventHidden);
cal.addEvent(longEventHidden);
cal.addEvent(shortEvent);