GWTTestCase-s are for using "client code" in your tests. This means your tests will be run either in DevMode or compiled to JavaScript (and either in a real browser or in HtmlUnit, as bundled within GWT's JUnitShell).
In your case, you want to use HtmlUnit *within* your test code, so it has to *not* be a GWTTestCase. (if you're *a beginner*, may I ask why you want to use HtmlUnit in your test? there might be other solutions for the problem you're trying to solve) -- 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.
