From 4c5bb0e1d5920682604d69ba49d936316da54c70 Mon Sep 17 00:00:00 2001 From: Jonatan Kronqvist Date: Tue, 3 Sep 2013 09:37:26 +0300 Subject: [PATCH] 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 --- .../tests/components/calendar/TestHideTimeAndSeparator.java | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.39.5