summaryrefslogtreecommitdiffstats
path: root/server/tests/src/com/vaadin
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-08-31 19:27:09 +0300
committerLeif Åstrand <leif@vaadin.com>2012-09-03 14:05:28 +0300
commit094fabccf991fae1efd507a8a993fce1bc547b89 (patch)
tree43fb6f7c9f983afa1835085614b6579862f67c99 /server/tests/src/com/vaadin
parent169920045e870e307dee9e2447487a9befc896c7 (diff)
downloadvaadin-framework-094fabccf991fae1efd507a8a993fce1bc547b89.tar.gz
vaadin-framework-094fabccf991fae1efd507a8a993fce1bc547b89.zip
Rename AbstractWebApplicationContext to ApplicationContext (#9402)
Diffstat (limited to 'server/tests/src/com/vaadin')
-rw-r--r--server/tests/src/com/vaadin/tests/server/TransactionListenersConcurrency.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/server/tests/src/com/vaadin/tests/server/TransactionListenersConcurrency.java b/server/tests/src/com/vaadin/tests/server/TransactionListenersConcurrency.java
index 0cacccd08a..302b534d8a 100644
--- a/server/tests/src/com/vaadin/tests/server/TransactionListenersConcurrency.java
+++ b/server/tests/src/com/vaadin/tests/server/TransactionListenersConcurrency.java
@@ -17,14 +17,13 @@ import javax.servlet.http.HttpSession;
import junit.framework.TestCase;
+import org.easymock.EasyMock;
+
import com.vaadin.Application;
import com.vaadin.Application.ApplicationStartEvent;
-import com.vaadin.server.AbstractWebApplicationContext;
+import com.vaadin.server.ApplicationContext;
import com.vaadin.server.DeploymentConfiguration;
import com.vaadin.server.WebApplicationContext;
-import com.vaadin.service.ApplicationContext.TransactionListener;
-
-import org.easymock.EasyMock;
public class TransactionListenersConcurrency extends TestCase {
@@ -90,9 +89,9 @@ public class TransactionListenersConcurrency extends TestCase {
// Call the transaction listener using reflection as
// startTransaction is protected.
- Method m = AbstractWebApplicationContext.class
- .getDeclaredMethod("startTransaction",
- Application.class, Object.class);
+ Method m = ApplicationContext.class.getDeclaredMethod(
+ "startTransaction", Application.class,
+ Object.class);
m.setAccessible(true);
m.invoke(context, app, null);
} catch (Exception e) {
@@ -167,7 +166,8 @@ public class TransactionListenersConcurrency extends TestCase {
* transactionStart and transactionEnd.
*
*/
- public static class DelayTransactionListener implements TransactionListener {
+ public static class DelayTransactionListener implements
+ ApplicationContext.TransactionListener {
private int delay;