From 9bfda2bbe004e24b6deacad9dd5df15fca0fa099 Mon Sep 17 00:00:00 2001 From: Teemu Suo-Anttila Date: Thu, 7 Jan 2016 17:46:56 +0200 Subject: [PATCH] Fix DateFormat for Editor tests as well Change-Id: I35925bb542a8991184b7ae91b4a7d9c8d5bf5ee2 --- 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())); } } -- 2.39.5