diff options
author | Leif Åstrand <leif@vaadin.com> | 2012-03-27 10:21:45 +0300 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2012-03-27 10:49:53 +0300 |
commit | 0030463b2784ca2e919adab013cf5efc3f07b7e9 (patch) | |
tree | 3045290a61c0af812256fc627a8d7652d83edb8e /tests | |
parent | eb3712443bf19ac057d8a105e5fe8981f9f4cbdb (diff) | |
download | vaadin-framework-0030463b2784ca2e919adab013cf5efc3f07b7e9.tar.gz vaadin-framework-0030463b2784ca2e919adab013cf5efc3f07b7e9.zip |
Enable loading Root subclasses with a custom class loader (#8542)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/server-side/com/vaadin/tests/server/TransactionListenersConcurrency.java | 6 |
1 files changed, 4 insertions, 2 deletions
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(); |