diff options
author | Artur Signell <artur@vaadin.com> | 2012-06-21 16:01:44 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2012-06-21 17:11:38 +0300 |
commit | a9b3ac5b70490b846020e7355c121bb52f5f8f46 (patch) | |
tree | 0da93f2cd2a5b8c5fee4ee2d926dbe3c35b7ed15 /tests/server-side | |
parent | 79b021ffdf7d3bf2ad9761b55eaa050110290fec (diff) | |
download | vaadin-framework-a9b3ac5b70490b846020e7355c121bb52f5f8f46.tar.gz vaadin-framework-a9b3ac5b70490b846020e7355c121bb52f5f8f46.zip |
Added missing parts which made test fail
Diffstat (limited to 'tests/server-side')
-rw-r--r-- | tests/server-side/com/vaadin/tests/server/component/abstractfield/RemoveListenersOnDetach.java | 13 |
1 files 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; @@ -25,10 +26,13 @@ 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; } }; |