java.lang.Object | |||
↳ | com.google.gwt.dev.DevModeBase | ||
↳ | com.google.gwt.dev.DevMode | ||
↳ | com.google.gwt.junit.JUnitShell |
This class is responsible for hosting JUnit test case execution. There are three main pieces to the JUnit system.
The test environment consists of this class and the non-translatable version
of GWTTestCase
. These two classes
integrate directly into the real JUnit test process.
The client classes consist of the translatable version of
GWTTestCase
, translatable JUnit classes,
and the user's own GWTTestCase
-derived
class. The client communicates to the server via RPC.
The server consists of JUnitHostImpl
, an
RPC servlet which communicates back to the test environment through a
JUnitMessageQueue
, thus closing the loop.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
JUnitShell.Strategy | A strategy for running the test. |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gwt.dev.DevMode
| |||||||||||
From class
com.google.gwt.dev.DevModeBase
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Called by
JUnitHostImpl to get an
interface into the test process. | |||||||||||
Get the list of remote user agents to compile.
| |||||||||||
Checks if a testCase should not be executed.
| |||||||||||
Entry point for
GWTTestCase . | |||||||||||
This method is deprecated.
use
runTest(GWTTestCase, TestResult) instead
| |||||||||||
This method is deprecated.
use
runTest(GWTTestCase, TestResult) instead
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Check for updates once a minute.
| |||||||||||
Checks to see if this test run is complete.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gwt.dev.DevMode
| |||||||||||
From class
com.google.gwt.dev.DevModeBase
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.google.gwt.dev.ui.DoneCallback
| |||||||||||
From interface
com.google.gwt.dev.ui.RestartServerCallback
|
Called by JUnitHostImpl
to get an
interface into the test process.
JUnitMessageQueue
interface that belongs to the
singleton JUnitShell
, or null
if no such
singleton exists.
Get the list of remote user agents to compile. This method returns null until all clients have connected.
Checks if a testCase should not be executed. Currently, a test is either executed on all clients (mentioned in this test) or on no clients.
testInfo | the test info to check |
---|
Entry point for GWTTestCase
. Gets or
creates the singleton JUnitShell
and invokes its
#runTestImpl(GWTTestCase, TestResult).
UnableToCompleteException |
---|
This method is deprecated.
use runTest(GWTTestCase, TestResult)
instead
Entry point for GWTTestCase
. Gets or
creates the singleton JUnitShell
and invokes its
#runTestImpl(GWTTestCase, TestResult).
UnableToCompleteException |
---|
This method is deprecated.
use runTest(GWTTestCase, TestResult)
instead
UnableToCompleteException |
---|
Check for updates once a minute.
UnableToCompleteException |
---|
Checks to see if this test run is complete.