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:
Axel Uhl committed 2015-02-23 13:16:44 +01:00
1 parent 67d1fa1a70
commit b8cba71dfe
1 file changed
+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,