Monday, May 31, 2010

Re: How to run a unittest for a class in client folder of gwt which makes Async calls to the server

If you're using EasyMock, this is a very easy way to mock a service.
Been using this for a long time.

http://robvanmaris.jteam.nl/2008/04/22/test-driven-development-for-gwt-ui-code-with-asynchronous-rpc/

Take a particular look at AsyncCallbackMockSupport class.

Cheers!

Tristan

On May 30, 8:16 pm, Trung <gwtdevelo...@gmail.com> wrote:
> See this thread
>
> http://groups.google.com/group/google-web-toolkit/browse_thread/threa...
> discussing GWT RPC calls from Java
>
> On May 28, 3:39 pm, Sumit Somani <sumitsom...@google.com> wrote:
>
>
>
> > I am an engineering intern and want to write a test for a class which
> > makes a Async Request to the server How do I juct mock it up or use
> > some pre-built library. Please provide advise on resources

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment