Hi srepmas, Let's say your RPC serivice is calld Connector. Then you have Connector and ConnectorAsync in your client. You can make testclass that implements ConnectorAsync (like ConnectorAsyncStub) and there you can call the onSucces and onFailure on the AsyncCallback object that get's provided to you by the client.
Good luck! Alex On Sat, Feb 5, 2011 at 11:04 PM, srepmas <[email protected]> wrote: > Hi All, > > i'm wondering if there is a way of a clean way of stubbing an RPC > implementation: > > Given this setup: > 1) A project with GWT production code and a RPC implementation. > 2) A Concrete Server Test implementation in a separate project. > > Is there a way of doing so? > How to use this in eclipse? > > Thx. > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
