diff options
Diffstat (limited to 'server/tests/src')
3 files changed, 6 insertions, 6 deletions
diff --git a/server/tests/src/com/vaadin/server/TestAbstractApplicationServletStaticFilesLocation.java b/server/tests/src/com/vaadin/server/TestAbstractApplicationServletStaticFilesLocation.java index 18f7fae166..533bcc8422 100644 --- a/server/tests/src/com/vaadin/server/TestAbstractApplicationServletStaticFilesLocation.java +++ b/server/tests/src/com/vaadin/server/TestAbstractApplicationServletStaticFilesLocation.java @@ -78,7 +78,7 @@ public class TestAbstractApplicationServletStaticFilesLocation extends TestCase // Set request into replay mode replay(request); - String location = servlet.getVaadinService().getStaticFileLocation( + String location = servlet.getService().getStaticFileLocation( servlet.createVaadinRequest(request)); return location; } @@ -91,7 +91,7 @@ public class TestAbstractApplicationServletStaticFilesLocation extends TestCase // Set request into replay mode replay(request); - String location = servlet.getVaadinService().getStaticFileLocation( + String location = servlet.getService().getStaticFileLocation( servlet.createVaadinRequest(request)); return location; } 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 e84d1c9939..c7730e9294 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 @@ -81,7 +81,7 @@ public class CustomUIClassLoader extends TestCase { // Mock a VaadinRequest to give the mocked vaadin service VaadinRequest requestMock = EasyMock.createMock(VaadinRequest.class); - EasyMock.expect(requestMock.getVaadinService()).andReturn( + EasyMock.expect(requestMock.getService()).andReturn( configurationMock); EasyMock.replay(configurationMock, requestMock); diff --git a/server/tests/src/com/vaadin/tests/server/component/window/AttachDetachWindow.java b/server/tests/src/com/vaadin/tests/server/component/window/AttachDetachWindow.java index a41b200664..09cb75a9eb 100644 --- a/server/tests/src/com/vaadin/tests/server/component/window/AttachDetachWindow.java +++ b/server/tests/src/com/vaadin/tests/server/component/window/AttachDetachWindow.java @@ -238,12 +238,12 @@ public class AttachDetachWindow { private void assertUnattached(TestContainer win) { assertSame("window not detached", win.getSession(), null); assertSame("window content not detached", - getVaadinSession(win.getTestContent()), null); + getSession(win.getTestContent()), null); assertSame("window children not detached", - getVaadinSession(win.getTestContent().child), null); + getSession(win.getTestContent().child), null); } - private VaadinSession getVaadinSession(ClientConnector testContainer) { + private VaadinSession getSession(ClientConnector testContainer) { UI ui = testContainer.getUI(); if (ui != null) { return ui.getSession(); |