I am asking myself the same. I couldn't find any way to do that, but you can always test the generated one.
There is another tip: If you compile the project and specify the -gen argument to the compiler, then execute the project on debug mode and attach to the project the gen directory like source lookup and you can debug the generated class line by line, thats pretty nice to find bugs. 2009/12/17 hjo1620 <hjo1...@gmail.com> > I have a "class MyGenerator extends Generator", that I want to test. > > I need pointers to existing unit test code of a Generator unittest. > > Looked in the GWT code for readymade mocks to no avail. > > /hw > > -- > > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to google-web-tool...@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com> > . > 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 google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.