Hi All, Firstly, I did post this on the Ext GWT forums, but not one reply!
Im trying to get some mocking using EasyMock working with the Ext GWT controls, but everytime I try to create a mock of a ExtGwt Component, I get the following error: java.lang.UnsatisfiedLinkError: getModuleBaseURL 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:137) at com.extjs.gxt.ui.client.widget.Component.<clinit>(Component.java: 189) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at net.sf.cglib.proxy.Enhancer.setCallbacksHelper(Enhancer.java:616) at net.sf.cglib.proxy.Enhancer.setThreadCallbacks(Enhancer.java:609) at net.sf.cglib.proxy.Enhancer.registerCallbacks(Enhancer.java:578) at org.easymock.classextension.internal.ClassProxyFactory.createProxy (ClassProxyFactory.java:99) at org.easymock.internal.MocksControl.createMock(MocksControl.java:37) at org.easymock.classextension.EasyMock.createMock(EasyMock.java:24) ... ... I know about GWT's mocking libraries and Im using them successfully, in fact, in the test that this error occurs in, I have created many many mocks that work fine using the "GWTMockUtilities". Does anyone have any ideas as to how I can fix this up to create mocks? Will I just have to define some wrapper interfaces to get around this? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
