summaryrefslogtreecommitdiffstats
path: root/server/tests/src/com/vaadin/ui/LabelDataSource.java
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/src/com/vaadin/ui/LabelDataSource.java')
-rw-r--r--server/tests/src/com/vaadin/ui/LabelDataSource.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/tests/src/com/vaadin/ui/LabelDataSource.java b/server/tests/src/com/vaadin/ui/LabelDataSource.java
index fa21fbefc3..30295553a2 100644
--- a/server/tests/src/com/vaadin/ui/LabelDataSource.java
+++ b/server/tests/src/com/vaadin/ui/LabelDataSource.java
@@ -23,7 +23,7 @@ import org.junit.Test;
import com.vaadin.data.util.ObjectProperty;
import com.vaadin.server.VaadinRequest;
-import com.vaadin.server.VaadinSession;
+import com.vaadin.server.VaadinServiceSession;
public class LabelDataSource {
@@ -35,12 +35,12 @@ public class LabelDataSource {
private static final Object INTEGER_STRING_VALUE_DE = "1.587";
ObjectProperty<String> stringDataSource;
private ObjectProperty<Integer> integerDataSource;
- VaadinSession vaadinSession;
+ VaadinServiceSession vaadinSession;
@Before
public void setup() {
- vaadinSession = new VaadinSession();
- VaadinSession.setCurrent(vaadinSession);
+ vaadinSession = new VaadinServiceSession();
+ VaadinServiceSession.setCurrent(vaadinSession);
label = new Label();
stringDataSource = new ObjectProperty<String>(STRING_DS_VALUE);