Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When testing asynchronous code, for example a queued method using the queueMethod method of the Headless cLient Client plugin with a notifyCallback method or a executeAsyncRequest on the HTTP plugin with a success/errorCallback and the UnitTest needs to test the result of the callback method, application.updateUI(Number:milliseconds) can be used inside a loop to wait for the callback to be invoked and test it's result.

...