public interface JUnitHost extends RemoteService
GWTTestCase
to
communicate with the test process through RPC.Modifier and Type | Interface and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
JUnitHost.InitialResponse |
getTestBlock(int blockIndex,
JUnitHost.ClientInfo clientInfo)
Gets a specific block of tests to run.
|
JUnitHost.TestBlock |
reportResultsAndGetTestBlock(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.
|
JUnitHost.InitialResponse getTestBlock(int blockIndex, JUnitHost.ClientInfo clientInfo) throws TimeoutException
blockIndex
- the index of the test block to retrieveclientInfo
- the info for this clientTimeoutException
- if the wait for the next method times out.JUnitHost.TestBlock reportResultsAndGetTestBlock(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 clientTimeoutException
- if the wait for the next method times out.Copyright © 2016. All rights reserved.