The workflow is:
1. delay the test finish (delayTestFinish with some timeout)
2. when your async is done, finish the test (finishTest() or fail())
So, replace the timer by your AsyncCallback (probably calling finishTest()
from onSuccess, after some assertXxx calls, and fail() from
I'm wanting to code tests for my RPC calls and am looking at the
documentation at:
http://code.google.com/webtoolkit/doc/latest/DevGuideTesting.html#DevGuideAsynchronousTesting.
I'm just not getting it!! The example is (leaving out the comments):
public void testTimer() {
Timer timer = new
Perfect. Nice and concise. Thanks
On Apr 7, 11:32 am, Thomas Broyer t.bro...@gmail.com wrote:
The workflow is:
1. delay the test finish (delayTestFinish with some timeout)
2. when your async is done, finish the test (finishTest() or fail())
So, replace the timer by your AsyncCallback