summaryrefslogtreecommitdiffstats
path: root/uitest
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-08 13:48:27 +0200
commit9bfda2bbe004e24b6deacad9dd5df15fca0fa099 (patch)
tree630a3ede1f464d64455c02f44c7f7b7855ddaa13 /uitest
parent0df5c8cbd0c6141b1e0a245e9bfbf1031f1e5edc (diff)
downloadvaadin-framework-9bfda2bbe004e24b6deacad9dd5df15fca0fa099.tar.gz
vaadin-framework-9bfda2bbe004e24b6deacad9dd5df15fca0fa099.zip
Fix DateFormat for Editor tests as well
Change-Id: I35925bb542a8991184b7ae91b4a7d9c8d5bf5ee2
Diffstat (limited to 'uitest')
-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()));
}
}