diff options
author | Leif Åstrand <leif@vaadin.com> | 2012-09-06 10:57:39 +0300 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2012-09-06 10:58:14 +0300 |
commit | 201121c5e00ee78d85add849f8b071fce076cc0d (patch) | |
tree | bb61d130e1250e80e00326743974389c4e9db7b5 /server/tests/src/com | |
parent | 83675b500405ef3281f2fa143a091030684d67e5 (diff) | |
download | vaadin-framework-201121c5e00ee78d85add849f8b071fce076cc0d.tar.gz vaadin-framework-201121c5e00ee78d85add849f8b071fce076cc0d.zip |
Rename ApplicationConfiguration -> DeploymentConfiguration (#9402)
Diffstat (limited to 'server/tests/src/com')
-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(); } }; |