diff options
author | Artur Signell <artur@vaadin.com> | 2013-03-26 10:51:50 +0200 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2013-04-02 10:25:58 +0000 |
commit | cbd3badb929e0253a44ae19464b6dd0caebca968 (patch) | |
tree | ec37cf18c901e36b106a3159e3266de7328cedac /server/tests/src/com/vaadin/ui/LabelDataSource.java | |
parent | 6323e6e3f15c039d51f084436461e0be52b2acb9 (diff) | |
download | vaadin-framework-cbd3badb929e0253a44ae19464b6dd0caebca968.tar.gz vaadin-framework-cbd3badb929e0253a44ae19464b6dd0caebca968.zip |
Fixed locking issue in tests
Change-Id: I3706cfa46f82615b8cc677bcaaa207d5ab05bf40
Diffstat (limited to 'server/tests/src/com/vaadin/ui/LabelDataSource.java')
-rw-r--r-- | server/tests/src/com/vaadin/ui/LabelDataSource.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/tests/src/com/vaadin/ui/LabelDataSource.java b/server/tests/src/com/vaadin/ui/LabelDataSource.java index 7dcb382124..87ca4e372c 100644 --- a/server/tests/src/com/vaadin/ui/LabelDataSource.java +++ b/server/tests/src/com/vaadin/ui/LabelDataSource.java @@ -24,6 +24,7 @@ import org.junit.Test; import com.vaadin.data.util.ObjectProperty; import com.vaadin.server.VaadinRequest; import com.vaadin.server.VaadinSession; +import com.vaadin.tests.server.AlwaysLockedVaadinSession; public class LabelDataSource { @@ -39,7 +40,7 @@ public class LabelDataSource { @Before public void setup() { - vaadinSession = new VaadinSession(null); + vaadinSession = new AlwaysLockedVaadinSession(null); VaadinSession.setCurrent(vaadinSession); label = new Label(); |