summaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/application/ThreadLocalInstances.java
diff options
context:
space:
mode:
Diffstat (limited to 'uitest/src/com/vaadin/tests/application/ThreadLocalInstances.java')
-rw-r--r--uitest/src/com/vaadin/tests/application/ThreadLocalInstances.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/uitest/src/com/vaadin/tests/application/ThreadLocalInstances.java b/uitest/src/com/vaadin/tests/application/ThreadLocalInstances.java
index f2d2c2f595..a043da7774 100644
--- a/uitest/src/com/vaadin/tests/application/ThreadLocalInstances.java
+++ b/uitest/src/com/vaadin/tests/application/ThreadLocalInstances.java
@@ -3,7 +3,7 @@ package com.vaadin.tests.application;
import com.vaadin.server.DownloadStream;
import com.vaadin.server.PaintException;
import com.vaadin.server.VaadinRequest;
-import com.vaadin.server.VaadinSession;
+import com.vaadin.server.VaadinServiceSession;
import com.vaadin.tests.components.AbstractTestCase;
import com.vaadin.tests.integration.FlagSeResource;
import com.vaadin.tests.util.Log;
@@ -14,7 +14,7 @@ import com.vaadin.ui.UI;
import com.vaadin.ui.UI.LegacyWindow;
public class ThreadLocalInstances extends AbstractTestCase {
- private static final VaadinSession staticInitApplication = VaadinSession
+ private static final VaadinServiceSession staticInitApplication = VaadinServiceSession
.getCurrent();
private static final UI staticInitRoot = UI.getCurrent();
@@ -90,10 +90,11 @@ public class ThreadLocalInstances extends AbstractTestCase {
}
private void reportCurrentStatus(String phase) {
- reportStatus(phase, VaadinSession.getCurrent(), UI.getCurrent());
+ reportStatus(phase, VaadinServiceSession.getCurrent(), UI.getCurrent());
}
- private void reportStatus(String phase, VaadinSession application, UI uI) {
+ private void reportStatus(String phase, VaadinServiceSession application,
+ UI uI) {
log.log(getState(application, this) + " app in " + phase);
log.log(getState(uI, mainWindow) + " root in " + phase);
}