public class TestDispatchAsync extends Object implements DispatchAsync
DispatchAsync for use with test cases that configure guice using a MockHandlerModule.| Constructor and Description |
|---|
TestDispatchAsync(TestDispatchService service,
Injector injector) |
| Modifier and Type | Method and Description |
|---|---|
<A extends Action<R>,R extends Result> |
execute(A action,
AsyncCallback<R> callback) |
<A extends Action<R>,R extends Result> |
undo(A action,
R result,
AsyncCallback<Void> callback) |
@Inject public TestDispatchAsync(TestDispatchService service, Injector injector)
public <A extends Action<R>,R extends Result> com.gwtplatform.dispatch.shared.DispatchRequest execute(A action, AsyncCallback<R> callback)
execute in interface DispatchAsyncpublic <A extends Action<R>,R extends Result> com.gwtplatform.dispatch.shared.DispatchRequest undo(A action, R result, AsyncCallback<Void> callback)
undo in interface DispatchAsyncCopyright © 2010–2016 Arcbees. All rights reserved.