com.gwtplatform.tester
Class TestDispatchService
java.lang.Object
com.gwtplatform.tester.TestDispatchService
- All Implemented Interfaces:
- RemoteService, DispatchService
public class TestDispatchService
- extends Object
- implements DispatchService
This class is an implementation of DispatchService 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 |
TestDispatchService
@Inject
public TestDispatchService(Dispatch dispatch)
execute
public Result execute(String cookieSentByRPC,
Action<?> action)
throws ActionException,
ServiceException
- Specified by:
execute in interface DispatchService
- Throws:
ActionException
ServiceException
undo
public void undo(String cookieSentByRPC,
Action<Result> action,
Result result)
throws ActionException,
ServiceException
- Specified by:
undo in interface DispatchService
- Throws:
ActionException
ServiceException
Copyright © 2010-2011 ArcBees. All Rights Reserved.