summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeemu Suo-Anttila <teemusa@vaadin.com>2016-01-07 17:46:56 +0200
committerTeemu Suo-Anttila <teemusa@vaadin.com>2016-01-07 17:46:56 +0200
commitabeca5b8491dccef620e3f20c20e7cdf7972681c (patch)
treefda9e8b288caca82a20cf508aa29dc4702a9a2c2
parent95316ca5cc7dd60adf5d317de2d815909faa0712 (diff)
downloadvaadin-framework-abeca5b8491dccef620e3f20c20e7cdf7972681c.tar.gz
vaadin-framework-abeca5b8491dccef620e3f20c20e7cdf7972681c.zip
Fix DateFormat for Editor tests as well
Change-Id: Ice7b77ab1bcb1cdecd50fc8e480c1ca2f8dae26c
-rw-r--r--uitest/src/com/vaadin/tests/components/grid/GridThemeUI.java2
1 files changed, 2 insertions, 0 deletions
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()));
}
}