summaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/tickets
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2012-11-16 18:29:44 +0200
committerArtur Signell <artur@vaadin.com>2012-11-16 18:29:44 +0200
commit9a3a22cc9f8f95054e3528b0ffcc0b9e92cffbea (patch)
tree9f2c7302f294ffe8c02915b1d7f286733f815817 /uitest/src/com/vaadin/tests/tickets
parent15f833480da7a5eff0d29c527cd956b9e9658401 (diff)
downloadvaadin-framework-9a3a22cc9f8f95054e3528b0ffcc0b9e92cffbea.tar.gz
vaadin-framework-9a3a22cc9f8f95054e3528b0ffcc0b9e92cffbea.zip
Renamed VaadinServiceSession to VaadinSession (#10223)
Change-Id: Id7f367300c000aa47edc12084f4e9500502466c3
Diffstat (limited to 'uitest/src/com/vaadin/tests/tickets')
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1589.java6
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1921.java6
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2292.java6
3 files changed, 9 insertions, 9 deletions
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1589.java b/uitest/src/com/vaadin/tests/tickets/Ticket1589.java
index 67b5e3e347..9b5be40aa3 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1589.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1589.java
@@ -16,7 +16,7 @@ import com.vaadin.server.LegacyApplication;
import com.vaadin.server.RequestHandler;
import com.vaadin.server.VaadinRequest;
import com.vaadin.server.VaadinResponse;
-import com.vaadin.server.VaadinServiceSession;
+import com.vaadin.server.VaadinSession;
import com.vaadin.ui.LegacyWindow;
import com.vaadin.ui.Link;
@@ -29,7 +29,7 @@ public class Ticket1589 extends LegacyApplication {
MyDynamicResource res = new MyDynamicResource();
- VaadinServiceSession.getCurrent().addRequestHandler(res);
+ VaadinSession.getCurrent().addRequestHandler(res);
w.addComponent(new Link(
"Test (without Content-Disposition, should suggest generatedFile.png when saving, browser default for actual disposition)",
@@ -52,7 +52,7 @@ class MyDynamicResource implements RequestHandler {
* stream that contains the response from the server.
*/
@Override
- public boolean handleRequest(VaadinServiceSession session,
+ public boolean handleRequest(VaadinSession session,
VaadinRequest request, VaadinResponse response) throws IOException {
String relativeUri = request.getRequestPathInfo();
// Catch the given URI that identifies the resource, otherwise let other
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1921.java b/uitest/src/com/vaadin/tests/tickets/Ticket1921.java
index cde90ff3d6..79dcd3bd71 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1921.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1921.java
@@ -7,7 +7,7 @@ import com.vaadin.server.LegacyApplication;
import com.vaadin.server.RequestHandler;
import com.vaadin.server.VaadinRequest;
import com.vaadin.server.VaadinResponse;
-import com.vaadin.server.VaadinServiceSession;
+import com.vaadin.server.VaadinSession;
import com.vaadin.ui.Button;
import com.vaadin.ui.Button.ClickEvent;
import com.vaadin.ui.Label;
@@ -42,7 +42,7 @@ public class Ticket1921 extends LegacyApplication implements RequestHandler {
newState();
- VaadinServiceSession.getCurrent().addRequestHandler(this);
+ VaadinSession.getCurrent().addRequestHandler(this);
}
public void newState() {
@@ -94,7 +94,7 @@ public class Ticket1921 extends LegacyApplication implements RequestHandler {
}
@Override
- public boolean handleRequest(VaadinServiceSession session,
+ public boolean handleRequest(VaadinSession session,
VaadinRequest request, VaadinResponse response) throws IOException {
Map<String, String[]> parameters = request.getParameterMap();
String[] s = parameters.get("state");
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2292.java b/uitest/src/com/vaadin/tests/tickets/Ticket2292.java
index f6ec542ad2..2fd843ede6 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2292.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2292.java
@@ -14,7 +14,7 @@ import com.vaadin.server.ExternalResource;
import com.vaadin.server.RequestHandler;
import com.vaadin.server.VaadinRequest;
import com.vaadin.server.VaadinResponse;
-import com.vaadin.server.VaadinServiceSession;
+import com.vaadin.server.VaadinSession;
import com.vaadin.ui.Button;
import com.vaadin.ui.CheckBox;
import com.vaadin.ui.Label;
@@ -44,11 +44,11 @@ public class Ticket2292 extends com.vaadin.server.LegacyApplication implements
Link l = new Link("l", icon);
main.addComponent(l);
- VaadinServiceSession.getCurrent().addRequestHandler(this);
+ VaadinSession.getCurrent().addRequestHandler(this);
}
@Override
- public boolean handleRequest(VaadinServiceSession session,
+ public boolean handleRequest(VaadinSession session,
VaadinRequest request, VaadinResponse response) throws IOException {
String relativeUri = request.getRequestPathInfo();