Hello,

I have a fully working webapp built with GWT-2.0.0-ms2's UiBinder.
Recently I decided to get it covered by unit tests using GWTTestCase,
but after coding a simple test case:

public class MyTest extends GWTTestCase {

  @Override public String getModuleName() {
    return "foo.bar.MyApp";
  }

  public void testAnythingYouWant() {
    assertTrue(true);
  }

I stumbled on this:

com.google.gwt.junit.client.TimeoutException: The browser did not
contact the server within 60000ms.
 - 1 client(s) haven't responded back to JUnitShell since the start of
the test.
 Actual time elapsed: 60.009 seconds.

        at com.google.gwt.junit.JUnitShell.notDone(JUnitShell.java:800)
        at com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java:989)
        at com.google.gwt.junit.JUnitShell.runTest(JUnitShell.java:436)
        at com.google.gwt.junit.client.GWTTestCase.runTest(GWTTestCase.java:
386)
        at com.google.gwt.junit.client.GWTTestCase.run(GWTTestCase.java:269)
        at com.intellij.junit3.JUnit3IdeaTestRunner.doRun
(JUnit3IdeaTestRunner.java:108)
        at com.intellij.rt.execution.junit.JUnitStarter.main
(JUnitStarter.java:60)

Process finished with exit code 255

The same test works fine when targeting a module NOT UiBinder-based.

Any hint? I am using IDEA on a Mac, with the following VM arguments:
-XstartOnFirstThread -Xmx512M

Thanks in advance,
Tiago Fernandez

--~--~---------~--~----~------------~-------~--~----~
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