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

2010-06-09 Thread Carl Pritchett
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/ This is a great method. I was using EacyMocks Catpure method to do the same thing;

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

2010-05-31 Thread Tristan
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 

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

2010-05-30 Thread Trung
See this thread http://groups.google.com/group/google-web-toolkit/browse_thread/thread/a870643861023d35 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

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

2010-05-28 Thread Sumit Somani
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

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

2010-05-28 Thread Thomas Broyer
On May 28, 10:39 am, 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 Some pointers: Actually making