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
I have a solution to this in
gwt-remote-actionhttp://code.google.com/p/gwt-remote-action/.
I create a real TypeOracle and feed it the actual .java files from GWT for
the JRE and some GWT classes, then I feed it the .java files for the test
interfaces that are to be generated and run my unit tests
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