Hello!

I am trying to test my MVC GWT application which uses GXT widgets.

The JUnit4 is used, not GWTTestCase. So GWT.Create is disabled by
GWTMockUtilities.disarm();
We expect to mock all GXT widgets.
But there is one unresolved problem:

java.lang.UnsatisfiedLinkError:
com.google.gwt.core.client.impl.Impl.getModuleBaseURL()Ljava/lang/
String;
        at com.google.gwt.core.client.impl.Impl.getModuleBaseURL(Native
Method)
        at com.google.gwt.core.client.GWT.getModuleBaseURL(GWT.java:121)
        at com.extjs.gxt.ui.client.GXT.<clinit>(GXT.java:88)

Can I somehow mock the method getModuleBaseURL which causes
compilation problem.
The same problem occurs when I try to use EasyMock class extension.

Thanks in advance!

Keywords: junit mock gxt easymock getModuleBaseURL
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to