Thursday, March 31, 2011

Re: How can I unit test some basic JavaScript overlay objects with the need for a Servlet and GWTTestCase ?

If you have JSNI (and your JSOs probably have a lot), you have to use a GWTTestCase.

But defining a <servlet> in your gwt.xml should work (GWT's own unit tests makes use of it: GWT-RPC, FormPanel, RequestFactory and RequestBuilder). Maybe check that your GWTTestCase's getModuleName returns the correct module name (in case your servlet is defined in a unit-test-specific gwt.xml file)

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment