Re: Unit testing of generators

2011-03-09 Thread Tobias
Actually I was referring to if I needed to use GWT trunk to be able to use RealJavaResource, because it causes some problems. But I came across the problem you mentioned shortly after and your answer proved very helpful, thank you. I now put my testing code into a different eclipse project to a

Re: Unit testing of generators

2011-03-07 Thread Thomas Broyer
On Monday, March 7, 2011 3:18:29 PM UTC+1, Tobias wrote: > > Thanks, that is exactly what I was looking for. But how do you set up your > build paths to use these? You have to include your java sources in the classpath (just like with GWTTestCase, even though they're "pure Java" unit tests),

Re: Unit testing of generators

2011-03-07 Thread Tobias
Thanks, that is exactly what I was looking for. But how do you set up your build paths to use these? They have some direct/indirect dependencies which I only found in trunk/dev/core/src and trunk/dev/core/test, so I added these two to my build path. However, now I am getting errors from the GWT

Re: Unit testing of generators

2011-03-06 Thread Thomas Broyer
How about RequestFactoryModelTest or PlaceHistoryGeneratorContextTest

Unit testing of generators

2011-03-06 Thread Tobias
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 i