diff options
Diffstat (limited to 'uitest/src/com/vaadin/tests/TestBench.java')
-rw-r--r-- | uitest/src/com/vaadin/tests/TestBench.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/uitest/src/com/vaadin/tests/TestBench.java b/uitest/src/com/vaadin/tests/TestBench.java index 14f78ffa48..c886fc2c40 100644 --- a/uitest/src/com/vaadin/tests/TestBench.java +++ b/uitest/src/com/vaadin/tests/TestBench.java @@ -24,7 +24,7 @@ import java.util.HashMap; import java.util.Iterator; import java.util.List; -import com.vaadin.Application; +import com.vaadin.LegacyApplication; import com.vaadin.data.Property; import com.vaadin.data.util.HierarchicalContainer; import com.vaadin.server.ExternalResource; @@ -51,7 +51,7 @@ import com.vaadin.ui.VerticalLayout; * @author Vaadin Ltd. * */ -public class TestBench extends com.vaadin.Application implements +public class TestBench extends com.vaadin.LegacyApplication implements Property.ValueChangeListener { // Add here packages which are used for finding testable classes @@ -223,7 +223,7 @@ public class TestBench extends com.vaadin.Application implements private Component createTestable(Class<?> c) { try { - final Application app = (Application) c.newInstance(); + final LegacyApplication app = (LegacyApplication) c.newInstance(); app.doInit(); Layout lo = (Layout) app.getMainWindow().getContent(); lo.setParent(null); |