java.lang.Object | |
↳ | com.google.gwt.junit.RunStyle |
Known Direct Subclasses |
An abstract class that handles the details of launching a browser.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
shell | The containing shell. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor for RunStyle.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Tests whether the test was interrupted.
| |||||||||||
Get the host name of the local system to use in URLs.
| |||||||||||
Returns the number of times this test should be tried to run.
| |||||||||||
Initialize the runstyle with any supplied arguments, and return the number
of clients this runstyle controls.
| |||||||||||
Requests initial launch of the browser.
| |||||||||||
Sets the number of times a test should be tried -- it succeeds if any
attempt succeeds.
| |||||||||||
Setup this RunStyle for the selected mode.
| |||||||||||
Whether the embedded server should ever generate resources.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the shell logger.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Constructor for RunStyle. Any subclass must provide a constructor with the same signature since this will be how the RunStyle is created via reflection.
shell | the containing shell |
---|
Tests whether the test was interrupted.
Get the host name of the local system to use in URLs. This method returns the host address instead of the host name in case the test target cannot resolve the host name.
Returns the number of times this test should be tried to run. A test succeeds if it succeeds even once.
Initialize the runstyle with any supplied arguments, and return the number of clients this runstyle controls.
args | arguments passed in -runStyle option, null if none supplied |
---|
Requests initial launch of the browser. This should only be called once per instance of RunStyle.
moduleName | the module to run |
---|
UnableToCompleteException |
---|
Sets the number of times a test should be tried -- it succeeds if any attempt succeeds.
tries | number of attempts |
---|
Setup this RunStyle for the selected mode.
logger | TreeLogger to use for any messages |
---|---|
developmentMode | true if we are running in development mode rather that web/production mode |
Whether the embedded server should ever generate resources. Development mode needs this, but not with -noserver.
Gets the shell logger.