From abeca5b8491dccef620e3f20c20e7cdf7972681c Mon Sep 17 00:00:00 2001 From: Teemu Suo-Anttila Date: Thu, 7 Jan 2016 17:46:56 +0200 Subject: Fix DateFormat for Editor tests as well Change-Id: Ice7b77ab1bcb1cdecd50fc8e480c1ca2f8dae26c --- uitest/src/com/vaadin/tests/components/grid/GridThemeUI.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/uitest/src/com/vaadin/tests/components/grid/GridThemeUI.java b/uitest/src/com/vaadin/tests/components/grid/GridThemeUI.java index add9773ae1..2fccf4d7c8 100644 --- a/uitest/src/com/vaadin/tests/components/grid/GridThemeUI.java +++ b/uitest/src/com/vaadin/tests/components/grid/GridThemeUI.java @@ -98,6 +98,8 @@ public class GridThemeUI extends AbstractTestUIWithLog { getColumn("age").getEditorField().addValidator( new IntegerRangeValidator("Must be between 0 and 100", 0, 100)); + getColumn("birthDate").setRenderer( + new DateRenderer(DateFormat.getDateInstance())); } } -- cgit v1.2.3