]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fix DateFormat for Editor tests as well
authorTeemu Suo-Anttila <teemusa@vaadin.com>
Thu, 7 Jan 2016 15:46:56 +0000 (17:46 +0200)
committerTeemu Suo-Anttila <teemusa@vaadin.com>
Fri, 8 Jan 2016 11:48:27 +0000 (13:48 +0200)
Change-Id: I35925bb542a8991184b7ae91b4a7d9c8d5bf5ee2

uitest/src/com/vaadin/tests/components/grid/GridThemeUI.java

index add9773ae11259dc7748e257e3061a0ca297e065..2fccf4d7c875084bcccd1c71b3280c2f1d95fbd9 100644 (file)
@@ -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()));
         }
     }