On Nov 2, 7:35 am, Thomas Broyer <
t.bro...@gmail.com> wrote:
> It might very well be a bug in HtmlUnit if that's the runstyle you're
> using to run your tests (it's the default one in MS1 and MS2), but
> according to this test (from 2.0.0-ms1) it should work (the test isn't
> annotated with @DoNotRunWith(Platform.Htmlunit))
http://code.google.com/p/google-web-toolkit/source/browse/tags/2.0.0-...
>
> Try running your tests manually to confirm (add "-runStyle Manual" to
> the -Dgwt.args sysprop; it'll ask you to open a URL in a browser, just
> like with DevMode).
When running manually, the test still fails, but now it produces:
com.google.gwt.junit.client.TimeoutException: A timeout expired after
1000ms elapsed.
at com.google.gwt.junit.client.GWTTestCase$KillTimer.run
(GWTTestCase.java:56)
at com.google.gwt.user.client.Timer.fire(Timer.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:
103)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:
71)
at com.google.gwt.dev.shell.OophmSessionHandler.invoke
(OophmSessionHandler.java:146)
at
com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForReturn
(BrowserChannel.java:1704)
at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript
(BrowserChannelServer.java:144)
at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke
(ModuleSpaceOOPHM.java:120)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
518)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject
(ModuleSpace.java:275)
at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject
(JavaScriptHost.java:91)
at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:188)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:
103)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:
71)
at com.google.gwt.dev.shell.OophmSessionHandler.invoke
(OophmSessionHandler.java:146)
at com.google.gwt.dev.shell.BrowserChannel.reactToMessages
(BrowserChannel.java:1660)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection
(BrowserChannelServer.java:354)
at com.google.gwt.dev.shell.BrowserChannelServer.run
(BrowserChannelServer.java:192)
at java.lang.Thread.run(Thread.java:636)
Any ideas? Thanks!