We are trying to upgrade from 2.0.4 to 2.1.0.m3 because of some bugs
in 2.0.4 but in doing so our GWT test cases have begun failing and I
have determined it's because the next test is beginning before the
previous one is complete and they are messing each other up.  I know
that delayTestFinish is meant to allow for tests to make use of async
calls and it's been working for us but now it's not.

We have a number of tests that roughly look like this:

public void test03 {
  delayTestFinish(120000);
  rpcService.someServerCall(new AsyncCallback() {
    public void onSuccess() {
      // Do some stuff
      DeferredCommand.addCommand(new Command() {
        public void execute() {
          // More stuff
          finishTest();
        }
      }
    }
  }
}

public void test04 {
  delayTestFinish(120000);
  ...
}

Our code actually uses DeferredCommands in a long chain of calls but
in short, test04 begins executing before we call finishTest() in the
previous test and I don't think that's supposed to happen.

I could further debug this if someone could explain to me what
"implemented in the translatable version of this class" means and how
I would debug this "translatable version".  Any advice on how to
proceed?

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to