If you are referring to the client side, you should be passing in the
RPC service via dependency injection. If you do this, testing (again)
becomes a matter of implementing a mock version of the RPC interface.

On Aug 31, 1:59 am, Dalla <[email protected]> wrote:
> Hi all
>
> So we´ve all learnt that MVP is *for the win* when working with GWT,
> since we can easily switch our GUI widgets to mock widgets, enabling
> us to use
> regular jUnit tests for our code.
>
> But how do you handle the async calls made to a server when testing?
> Can we use jUnit at all?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to