Htmlunit doesnt work on GAE due to restrictions. Getting this error: java.lang.NoClassDefFoundError: java.net.URLStreamHandler is a restricted class. Please see the Google App Engine developer's guide for more details.
If anyone has any insights on how to resolve this please let me know. Thinking of the same approach as this blogs: http://esxx.blogspot.com/2009/06/using-apaches-httpclient-on-google-app.html /A On 27 January 2010 22:24, Ikai L (Google) <[email protected]> wrote: > I'm no expert on how to unit test GWT, but in terms of testing the server, > for a unit test it probably is a better idea to simply test the servlet. > I've heard HtmlUnit is pretty good for this. Here's a guide for setting up > JUnit to work with the datastore: > > http://code.google.com/appengine/docs/java/howto/unittesting.html > > > On Tue, Jan 26, 2010 at 7:19 AM, aswath satrasala < > [email protected]> wrote: > >> Hi, >> I am using GWT and JDO to write a simple create and list Employee >> application. I got this working using TransferObjects . >> How to test the GWT asysnc calls with local datastore using Junit. >> >> -Aswath >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google App Engine for Java" group. >> To post to this group, send email to >> [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<google-appengine-java%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/google-appengine-java?hl=en. >> > > > > -- > Ikai Lan > Developer Programs Engineer, Google App Engine > http://googleappengine.blogspot.com | http://twitter.com/app_engine > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine-java%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" 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-appengine-java?hl=en.
