I know one that is working really well for me. Though I actually Mock MyLocalizableResource.
I simply use Gin to inject MyLocalizableResource instead of Gwt.create(). Then I use Jukito <http://code.google.com/p/jukito/> to automatically mock every interface unbinded with mockito. More info on Gin gwt.create() magic: http://code.google.com/p/google-gin/wiki/GinTutorial#Deferred_Binding Cheers, On Fri, Nov 12, 2010 at 8:53 AM, Raphael André Bauer < [email protected]> wrote: > Hi, > > > I want to test my i18n GWT application. We got a MyLocalizableResource > extends com.google.gwt.i18n.client.Messages connected to properties > files representing different languages. > > I can test that using a GWTTestCase and GWT.create(MyLocalizableResource). > > But I want to test that setup in a fast JUnit Test. Is there a simple > way to "bind" the properties files to MyLocalizableResource without > the need for a GWTTestCase? > > > Many thanks in advance :) > > Cheers, > > > > Raphael > > -- > 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]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- Christian Goudreau www.arcbees.com -- 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.
