i guess that you need to mock it using jMock or easyMock, but i dont have a running example although i saw some unit tests for drools/jBPM where they use those mocking jars in order to simulate some context/DAO services.
On Wed, May 5, 2010 at 7:33 AM, Mike <[email protected]> wrote: > Hello > > Am trying to write tests for my code, and want to ensure that any > class I write which extends RemoteServiceServlet; > however, I'm not quite catching on to what I need to do in order to > get a test to be runnable in that context... > > Any help is greatly appreciated (links, samples, explanation, etc). > > Cheers > Mike > > -- > 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]<google-web-toolkit%[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.
