Those tests run as if they were really running on a web browser (because they are). You would need to send it back to the "server" using RPC or RF or whatever else you want.
On Monday, March 19, 2012 9:35:18 AM UTC-4, HK wrote: > > Thank you for your response! > I tried this and now I can call toString(). But how can I call basic > JAVA Methods? For example how can I write the generated HTML Code to a > File? Using java.io.File I get an error when executing the GWT JUnit > Test: > [ERROR] Line 41: No source code is available for type java.io.File; > did you forget to inherit a required module? > This error appears for every JRE class I try to use. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/Ab6yNA6eyy4J. 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.
