From a9b3ac5b70490b846020e7355c121bb52f5f8f46 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Thu, 21 Jun 2012 16:01:44 +0300 Subject: [PATCH] Added missing parts which made test fail --- .../abstractfield/RemoveListenersOnDetach.java | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/tests/server-side/com/vaadin/tests/server/component/abstractfield/RemoveListenersOnDetach.java b/tests/server-side/com/vaadin/tests/server/component/abstractfield/RemoveListenersOnDetach.java index 851fece4d1..94385700d8 100644 --- a/tests/server-side/com/vaadin/tests/server/component/abstractfield/RemoveListenersOnDetach.java +++ b/tests/server-side/com/vaadin/tests/server/component/abstractfield/RemoveListenersOnDetach.java @@ -4,6 +4,7 @@ import static org.junit.Assert.assertEquals; import org.junit.Test; +import com.vaadin.Application; import com.vaadin.data.Property; import com.vaadin.data.util.AbstractProperty; import com.vaadin.data.util.converter.Converter.ConversionException; @@ -24,11 +25,14 @@ public class RemoveListenersOnDetach { } + }; + private Application application = new Application() { + }; @Override public Class getType() { - return null; + return String.class; } @Override @@ -48,6 +52,11 @@ public class RemoveListenersOnDetach { public com.vaadin.ui.Root getRoot() { return root; }; + + @Override + public Application getApplication() { + return application; + }; }; Property property = new AbstractProperty() { @@ -61,7 +70,7 @@ public class RemoveListenersOnDetach { } public Class getType() { - return null; + return String.class; } }; -- 2.39.5