Hello, I am in the process of writing a GWT generator. The generator is supposed to create implementation classes for given interfaces. Much like AutoBeanFactoryGenerator and a couple of other generators from GWT that I've seen, I use the type oracle to create a modeled representation of the interface. I would like to JUnit-test this parsing, and maybe later also test the code generation. But how do I set up the infrastructure for this? I need to instatiate a GeneratorContext, or a at least a TypeOracle, but both have a couple of dependencies and I run into protected/package-level access methods. Is there an example of a unit test of a generator somewhere?
Thanks, Tobias -- 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.
