com.gwtplatform.tester
Class TestDispatchAsync
java.lang.Object
com.gwtplatform.tester.TestDispatchAsync
- All Implemented Interfaces:
- DispatchAsync
public class TestDispatchAsync
- extends Object
- implements DispatchAsync
This class is an implementation of DispatchAsync for use with test
cases that configure guice using a MockHandlerModule.
- Author:
- Brendan Doherty
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestDispatchAsync
@Inject
public TestDispatchAsync(TestDispatchService service,
Injector injector)
execute
public <A extends Action<R>,R extends Result> DispatchRequest execute(A action,
AsyncCallback<R> callback)
- Specified by:
execute in interface DispatchAsync
undo
public <A extends Action<R>,R extends Result> DispatchRequest undo(A action,
R result,
AsyncCallback<Void> callback)
- Specified by:
undo in interface DispatchAsync
Copyright © 2010-2011 ArcBees. All Rights Reserved.