public interface

JUnitHostAsync

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

Class Overview

The asynchronous version of JUnitHost.

Summary

Public Methods
abstract void getTestBlock(int blockIndex, JUnitHost.ClientInfo clientInfo, AsyncCallback<JUnitHost.InitialResponse> callBack)
Gets a specific block of tests to run.
abstract void reportResultsAndGetTestBlock(HashMap<JUnitHost.TestInfoJUnitResult> 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.

Public Methods

public abstract 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

public abstract void reportResultsAndGetTestBlock (HashMap<JUnitHost.TestInfoJUnitResult> 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