java.lang.Object | |
↳ | com.google.gwt.junit.JUnitMessageQueue |
A message queue to pass data between JUnitShell
and
JUnitHostImpl
in a thread-safe manner.
The public methods are called by the servlet to find out what test to execute next, and to report the results of the last test to run.
The protected methods are called by the shell to fetch test results and drive the next test the client should run.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
JUnitMessageQueue.ClientInfoExt | Server-side client info that includes a description. | ||||||||||
JUnitMessageQueue.ClientStatus | Holds the state of an individual client. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Called by the servlet to query for for the next block to test.
| |||||||||||
Reports a failure from a client that cannot startup.
| |||||||||||
Called by the servlet to report the results of the last test to run.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Called by the servlet to query for for the next block to test.
clientInfo | information about the client |
---|---|
blockIndex | the index of the test block to get |
timeout | how long to wait for an answer |
null
if
timeout
is exceeded or the next test does not match
testClassName
TimeoutException |
---|
Reports a failure from a client that cannot startup.
clientInfo | information about the client |
---|---|
result | the failure result |
Called by the servlet to report the results of the last test to run.
clientInfo | information about the client |
---|---|
results | the result of running the test block |