summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2013-09-16 14:33:54 +0300
committerVaadin Code Review <review@vaadin.com>2013-09-19 08:13:54 +0000
commit0e2780a0ad6212a7bee9d204464504c6ed0e41a1 (patch)
tree078042b86202ee18e84c412973cd6a704bc2137c
parentcdb9a49bd542fe28ed29c52b90ee9875e2556f67 (diff)
downloadvaadin-framework-0e2780a0ad6212a7bee9d204464504c6ed0e41a1.tar.gz
vaadin-framework-0e2780a0ad6212a7bee9d204464504c6ed0e41a1.zip
Ensure string converter is always set
Change-Id: I8c9146975397356e92fded0d0207b56d057ac6c5
-rw-r--r--server/tests/src/com/vaadin/tests/server/component/abstractfield/AbsFieldValueConversions.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/tests/src/com/vaadin/tests/server/component/abstractfield/AbsFieldValueConversions.java b/server/tests/src/com/vaadin/tests/server/component/abstractfield/AbsFieldValueConversions.java
index 9854296538..a5e825bddb 100644
--- a/server/tests/src/com/vaadin/tests/server/component/abstractfield/AbsFieldValueConversions.java
+++ b/server/tests/src/com/vaadin/tests/server/component/abstractfield/AbsFieldValueConversions.java
@@ -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 {