diff options
Diffstat (limited to 'server/tests/src/com/vaadin')
-rw-r--r-- | server/tests/src/com/vaadin/server/TestAbstractApplicationServletStaticFilesLocation.java | 4 | ||||
-rw-r--r-- | server/tests/src/com/vaadin/tests/server/component/root/CustomUIClassLoader.java | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/server/tests/src/com/vaadin/server/TestAbstractApplicationServletStaticFilesLocation.java b/server/tests/src/com/vaadin/server/TestAbstractApplicationServletStaticFilesLocation.java index d8d1521a4c..e949df466d 100644 --- a/server/tests/src/com/vaadin/server/TestAbstractApplicationServletStaticFilesLocation.java +++ b/server/tests/src/com/vaadin/server/TestAbstractApplicationServletStaticFilesLocation.java @@ -13,7 +13,7 @@ import javax.servlet.http.HttpServletRequest; import junit.framework.TestCase; -import com.vaadin.DefaultApplicationConfiguration; +import com.vaadin.DefaultDeploymentConfiguration; import com.vaadin.server.VaadinServlet.ServletService; public class TestAbstractApplicationServletStaticFilesLocation extends TestCase { @@ -32,7 +32,7 @@ public class TestAbstractApplicationServletStaticFilesLocation extends TestCase Field f = VaadinServlet.class.getDeclaredField("servletService"); f.setAccessible(true); f.set(servlet, new ServletService(servlet, - new DefaultApplicationConfiguration(servlet.getClass(), + new DefaultDeploymentConfiguration(servlet.getClass(), new Properties()))); } diff --git a/server/tests/src/com/vaadin/tests/server/component/root/CustomUIClassLoader.java b/server/tests/src/com/vaadin/tests/server/component/root/CustomUIClassLoader.java index acc89895ef..707eb577cc 100644 --- a/server/tests/src/com/vaadin/tests/server/component/root/CustomUIClassLoader.java +++ b/server/tests/src/com/vaadin/tests/server/component/root/CustomUIClassLoader.java @@ -8,8 +8,8 @@ import junit.framework.TestCase; import org.easymock.EasyMock; -import com.vaadin.DefaultApplicationConfiguration; -import com.vaadin.server.ApplicationConfiguration; +import com.vaadin.DefaultDeploymentConfiguration; +import com.vaadin.server.DeploymentConfiguration; import com.vaadin.server.DefaultUIProvider; import com.vaadin.server.VaadinService; import com.vaadin.server.VaadinSession; @@ -64,10 +64,10 @@ public class CustomUIClassLoader extends TestCase { assertEquals(MyUI.class, uiClass); } - private static ApplicationConfiguration createConfigurationMock() { + private static DeploymentConfiguration createConfigurationMock() { Properties properties = new Properties(); properties.put(VaadinSession.UI_PARAMETER, MyUI.class.getName()); - return new DefaultApplicationConfiguration(CustomUIClassLoader.class, + return new DefaultDeploymentConfiguration(CustomUIClassLoader.class, properties); } @@ -115,7 +115,7 @@ public class CustomUIClassLoader extends TestCase { private VaadinSession createStubApplication() { return new VaadinSession() { @Override - public ApplicationConfiguration getConfiguration() { + public DeploymentConfiguration getConfiguration() { return createConfigurationMock(); } }; |