mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-22 03:53:56 +00:00
override runTest() method to ensure AsyncActionsExecutioTest is on the call stack, donating its bundle class loader for resolving the gwt.xml module definition
This commit is contained in:
1 parent
67d1fa1a70
commit
b8cba71dfe
1 file changed
+10
-1
+10
-1
@@ -55,7 +55,16 @@ public class AsyncActionsExecutorTest extends GWTTestCase {
|
||||
};
|
||||
|
||||
private AsyncActionsExecutor executor;
|
||||
|
||||
|
||||
/**
|
||||
* Delegate to super; this has the effect of putting this class on the stack frame before the module loading takes place.
|
||||
* Therefore, this class's class loader will be consulted for resolving the GWT module definition.
|
||||
*/
|
||||
@Override
|
||||
public void runTest() {
|
||||
super.run();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testThatANonTriggeringActionLeadsToPendingCall() {
|
||||
executor = new AsyncActionsExecutor(/*maxPendingCalls*/6, /*maxPendingCallsPerType*/5,
|
||||
|
||||
Reference in new issue
Block a user