]> source.dussan.org Git - vaadin-framework.git/commitdiff
Ensure string converter is always set
authorArtur Signell <artur@vaadin.com>
Mon, 16 Sep 2013 11:33:54 +0000 (14:33 +0300)
committerVaadin Code Review <review@vaadin.com>
Thu, 19 Sep 2013 08:13:54 +0000 (08:13 +0000)
Change-Id: I8c9146975397356e92fded0d0207b56d057ac6c5

server/tests/src/com/vaadin/tests/server/component/abstractfield/AbsFieldValueConversions.java

index 985429653856db4c084bdc37ea27f079230ee2fe..a5e825bddb9bb34fcce76fc9f5a8a247eca1718e 100644 (file)
@@ -249,6 +249,7 @@ public class AbsFieldValueConversions extends TestCase {
     @Test
     public void testNullConverter() {
         TextField tf = new TextField("foo");
+        tf.setConverter(new StringToIntegerConverter());
         tf.setPropertyDataSource(new ObjectProperty<Integer>(12));
         tf.setConverter((Converter) null);
         try {