|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JUnitHost
An interface for GWTTestCase to
communicate with the test process through RPC.
| Nested Class Summary | |
|---|---|
static class |
JUnitHost.ClientInfo
Information about the client browser. |
static class |
JUnitHost.InitialResponse
An initial response that sets the client session id. |
static class |
JUnitHost.TestBlock
Returned from the server to tell the system what test to run next. |
static class |
JUnitHost.TestInfo
Returned from the server to tell the system what test to run next. |
| Method Summary | |
|---|---|
JUnitHost.InitialResponse |
getTestBlock(int blockIndex,
JUnitHost.ClientInfo clientInfo)
Gets a specific block of tests to run. |
JUnitHost.TestBlock |
reportResultsAndGetTestBlock(java.util.HashMap<JUnitHost.TestInfo,JUnitResult> results,
int blockIndex,
JUnitHost.ClientInfo clientInfo)
Reports results for the last method run and gets the name of next method to run. |
| Method Detail |
|---|
JUnitHost.InitialResponse getTestBlock(int blockIndex,
JUnitHost.ClientInfo clientInfo)
throws TimeoutException
blockIndex - the index of the test block to retrieveclientInfo - the info for this client
TimeoutException - if the wait for the next method times out.
JUnitHost.TestBlock reportResultsAndGetTestBlock(java.util.HashMap<JUnitHost.TestInfo,JUnitResult> results,
int blockIndex,
JUnitHost.ClientInfo clientInfo)
throws TimeoutException
results - the results of executing the testblockIndex - the index of the test block to retrieveclientInfo - the info for this client
TimeoutException - if the wait for the next method times out.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||