From 0030463b2784ca2e919adab013cf5efc3f07b7e9 Mon Sep 17 00:00:00 2001 From: Leif Åstrand Date: Tue, 27 Mar 2012 10:21:45 +0300 Subject: Enable loading Root subclasses with a custom class loader (#8542) --- .../com/vaadin/tests/server/TransactionListenersConcurrency.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tests/server-side') diff --git a/tests/server-side/com/vaadin/tests/server/TransactionListenersConcurrency.java b/tests/server-side/com/vaadin/tests/server/TransactionListenersConcurrency.java index 6c762c666d..e430cb6103 100644 --- a/tests/server-side/com/vaadin/tests/server/TransactionListenersConcurrency.java +++ b/tests/server-side/com/vaadin/tests/server/TransactionListenersConcurrency.java @@ -20,6 +20,7 @@ import junit.framework.TestCase; import org.easymock.EasyMock; import com.vaadin.Application; +import com.vaadin.Application.ApplicationStartEvent; import com.vaadin.service.ApplicationContext.TransactionListener; import com.vaadin.terminal.gwt.server.AbstractWebApplicationContext; import com.vaadin.terminal.gwt.server.WebApplicationContext; @@ -70,8 +71,9 @@ public class TransactionListenersConcurrency extends TestCase { // called later on. try { - app.start(new URL("http://localhost/"), - new Properties(), context, true); + app.start(new ApplicationStartEvent(new URL( + "http://localhost/"), new Properties(), + context, true, null)); } catch (MalformedURLException e) { // TODO Auto-generated catch block e.printStackTrace(); -- cgit v1.2.3