diff options
author | John Ahlroos <john@vaadin.com> | 2012-09-03 14:18:16 +0300 |
---|---|---|
committer | John Ahlroos <john@vaadin.com> | 2012-09-03 14:18:16 +0300 |
commit | b6e762dc8408b607568919f518ab2e2f74df7010 (patch) | |
tree | b6ccf5b5cb1225d6744f20b0292880cd094bbcf1 /uitest/src/com/vaadin/tests/applicationcontext/ChangeSessionId.java | |
parent | 1bc93daa34b1094f41cf19f20342c94c4e423244 (diff) | |
parent | ae2c302f71554f49b3f57b649cec7450c652cf09 (diff) | |
download | vaadin-framework-b6e762dc8408b607568919f518ab2e2f74df7010.tar.gz vaadin-framework-b6e762dc8408b607568919f518ab2e2f74df7010.zip |
Merge branch 'master' into layoutgraph
Diffstat (limited to 'uitest/src/com/vaadin/tests/applicationcontext/ChangeSessionId.java')
-rw-r--r-- | uitest/src/com/vaadin/tests/applicationcontext/ChangeSessionId.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/uitest/src/com/vaadin/tests/applicationcontext/ChangeSessionId.java b/uitest/src/com/vaadin/tests/applicationcontext/ChangeSessionId.java index 9146cf5dea..96ebe1345f 100644 --- a/uitest/src/com/vaadin/tests/applicationcontext/ChangeSessionId.java +++ b/uitest/src/com/vaadin/tests/applicationcontext/ChangeSessionId.java @@ -1,6 +1,6 @@ package com.vaadin.tests.applicationcontext; -import com.vaadin.server.WebApplicationContext; +import com.vaadin.server.ServletApplicationContext; import com.vaadin.tests.components.AbstractTestCase; import com.vaadin.tests.util.Log; import com.vaadin.ui.Button; @@ -32,7 +32,7 @@ public class ChangeSessionId extends AbstractTestCase { loginButton.addListener(new ClickListener() { @Override public void buttonClick(ClickEvent event) { - WebApplicationContext context = ((WebApplicationContext) getContext()); + ServletApplicationContext context = ((ServletApplicationContext) getContext()); String oldSessionId = context.getHttpSession().getId(); context.reinitializeSession(); @@ -55,7 +55,7 @@ public class ChangeSessionId extends AbstractTestCase { } protected String getSessionId() { - return ((WebApplicationContext) getContext()).getHttpSession().getId(); + return ((ServletApplicationContext) getContext()).getHttpSession().getId(); } @Override |