diff options
author | Artur Signell <artur@vaadin.com> | 2012-08-24 11:47:50 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2012-08-24 13:23:20 +0300 |
commit | 5c557b50bc5f7f754d60a2ed435907b897b6750b (patch) | |
tree | 7a9db946a00c955a75035db121b3109fece20574 /tests | |
parent | 0b0ddb86876a965f68c6160fe7a499412b6c199d (diff) | |
download | vaadin-framework-5c557b50bc5f7f754d60a2ed435907b897b6750b.tar.gz vaadin-framework-5c557b50bc5f7f754d60a2ed435907b897b6750b.zip |
Remaining Root -> UI renames (#8908)
Diffstat (limited to 'tests')
5 files changed, 9 insertions, 9 deletions
diff --git a/tests/server-side/com/vaadin/tests/server/component/root/CustomRootClassLoader.java b/tests/server-side/com/vaadin/tests/server/component/root/CustomRootClassLoader.java index 59b1299db2..aa4fa22d06 100644 --- a/tests/server-side/com/vaadin/tests/server/component/root/CustomRootClassLoader.java +++ b/tests/server-side/com/vaadin/tests/server/component/root/CustomRootClassLoader.java @@ -11,7 +11,7 @@ import org.easymock.EasyMock; import com.vaadin.Application; import com.vaadin.Application.ApplicationStartEvent; import com.vaadin.UIRequiresMoreInformationException; -import com.vaadin.terminal.DefaultRootProvider; +import com.vaadin.terminal.DefaultUIProvider; import com.vaadin.terminal.DeploymentConfiguration; import com.vaadin.terminal.WrappedRequest; import com.vaadin.ui.UI; @@ -113,7 +113,7 @@ public class CustomRootClassLoader extends TestCase { private Application createStubApplication() { return new Application() { { - addUIProvider(new DefaultRootProvider()); + addUIProvider(new DefaultUIProvider()); } @Override diff --git a/tests/testbench/com/vaadin/launcher/ApplicationRunnerServlet.java b/tests/testbench/com/vaadin/launcher/ApplicationRunnerServlet.java index 2611546203..8183ed2d0b 100644 --- a/tests/testbench/com/vaadin/launcher/ApplicationRunnerServlet.java +++ b/tests/testbench/com/vaadin/launcher/ApplicationRunnerServlet.java @@ -31,7 +31,7 @@ import javax.servlet.http.HttpServletResponse; import com.vaadin.Application; import com.vaadin.UIRequiresMoreInformationException; -import com.vaadin.terminal.AbstractRootProvider; +import com.vaadin.terminal.AbstractUIProvider; import com.vaadin.terminal.WrappedRequest; import com.vaadin.terminal.gwt.server.AbstractApplicationServlet; import com.vaadin.terminal.gwt.server.WrappedHttpServletRequest; @@ -112,7 +112,7 @@ public class ApplicationRunnerServlet extends AbstractApplicationServlet { final Class<?> classToRun = getClassToRun(); if (UI.class.isAssignableFrom(classToRun)) { Application application = new Application(); - application.addUIProvider(new AbstractRootProvider() { + application.addUIProvider(new AbstractUIProvider() { @Override public Class<? extends UI> getUIClass( diff --git a/tests/testbench/com/vaadin/tests/application/RefreshStatePreserve.java b/tests/testbench/com/vaadin/tests/application/RefreshStatePreserve.java index b9b9c509c1..f48ca28dbf 100644 --- a/tests/testbench/com/vaadin/tests/application/RefreshStatePreserve.java +++ b/tests/testbench/com/vaadin/tests/application/RefreshStatePreserve.java @@ -2,7 +2,7 @@ package com.vaadin.tests.application; import com.vaadin.Application; import com.vaadin.UIRequiresMoreInformationException; -import com.vaadin.terminal.AbstractRootProvider; +import com.vaadin.terminal.AbstractUIProvider; import com.vaadin.terminal.WrappedRequest; import com.vaadin.tests.components.AbstractTestApplication; import com.vaadin.ui.Label; @@ -23,7 +23,7 @@ public class RefreshStatePreserve extends AbstractTestApplication { public void init() { super.init(); setUiPreserved(true); - addUIProvider(new AbstractRootProvider() { + addUIProvider(new AbstractUIProvider() { @Override public Class<? extends UI> getUIClass(Application application, WrappedRequest request) diff --git a/tests/testbench/com/vaadin/tests/components/root/RootsInMultipleTabs.java b/tests/testbench/com/vaadin/tests/components/root/RootsInMultipleTabs.java index 238983d906..97506f7ad6 100644 --- a/tests/testbench/com/vaadin/tests/components/root/RootsInMultipleTabs.java +++ b/tests/testbench/com/vaadin/tests/components/root/RootsInMultipleTabs.java @@ -2,7 +2,7 @@ package com.vaadin.tests.components.root; import com.vaadin.Application; import com.vaadin.UIRequiresMoreInformationException; -import com.vaadin.terminal.AbstractRootProvider; +import com.vaadin.terminal.AbstractUIProvider; import com.vaadin.terminal.WrappedRequest; import com.vaadin.tests.components.AbstractTestApplication; import com.vaadin.ui.Label; @@ -23,7 +23,7 @@ public class RootsInMultipleTabs extends AbstractTestApplication { } public RootsInMultipleTabs() { - addUIProvider(new AbstractRootProvider() { + addUIProvider(new AbstractUIProvider() { @Override public Class<? extends UI> getUIClass(Application application, WrappedRequest request) diff --git a/tests/testbench/com/vaadin/tests/vaadincontext/TestAddonContextListener.java b/tests/testbench/com/vaadin/tests/vaadincontext/TestAddonContextListener.java index a525d3139b..4fa007b11d 100644 --- a/tests/testbench/com/vaadin/tests/vaadincontext/TestAddonContextListener.java +++ b/tests/testbench/com/vaadin/tests/vaadincontext/TestAddonContextListener.java @@ -42,7 +42,7 @@ public class TestAddonContextListener implements AddonContextListener { } private boolean shouldModify(BootstrapResponse response) { - UI uI = response.getRoot(); + UI uI = response.getUI(); boolean shouldModify = uI != null && uI.getClass() == BootstrapModifyRoot.class; return shouldModify; |