com.google.gwt.junit.client.impl
Interface JUnitHostAsync


public interface JUnitHostAsync

The asynchronous version of JUnitHost.


Method Summary
 void getTestBlock(int blockIndex, JUnitHost.ClientInfo clientInfo, AsyncCallback<JUnitHost.InitialResponse> callBack)
          Gets a specific block of tests to run.
 void reportResultsAndGetTestBlock(java.util.HashMap<JUnitHost.TestInfo,JUnitResult> results, int blockIndex, JUnitHost.ClientInfo clientInfo, AsyncCallback<JUnitHost.TestBlock> callBack)
          Reports results for the last method run and gets the name of next method to run.
 

Method Detail

getTestBlock

void getTestBlock(int blockIndex,
                  JUnitHost.ClientInfo clientInfo,
                  AsyncCallback<JUnitHost.InitialResponse> callBack)
Gets a specific block of tests to run.

Parameters:
blockIndex - the index of the test block to retrieve
clientInfo - the info for this client
callBack - the object that will receive the initial response

reportResultsAndGetTestBlock

void reportResultsAndGetTestBlock(java.util.HashMap<JUnitHost.TestInfo,JUnitResult> results,
                                  int blockIndex,
                                  JUnitHost.ClientInfo clientInfo,
                                  AsyncCallback<JUnitHost.TestBlock> callBack)
Reports results for the last method run and gets the name of next method to run.

Parameters:
results - the results of executing the test
blockIndex - the index of the test block to retrieve
clientInfo - the info for this client
callBack - the object that will receive the next test block