|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.junit.RunStyle
public abstract class RunStyle
An abstract class that handles the details of launching a browser.
| Constructor Summary | |
|---|---|
RunStyle(JUnitShell shell)
Constructor for RunStyle. |
|
| Method Summary | |
|---|---|
java.lang.String[] |
getInterruptedHosts()
Tests whether the test was interrupted. |
java.lang.String |
getLocalHostName()
Get the host name of the local system to use in URLs. |
int |
getTries()
Returns the number of times this test should be tried to run. |
abstract int |
initialize(java.lang.String args)
Initialize the runstyle with any supplied arguments, and return the number of clients this runstyle controls. |
abstract void |
launchModule(java.lang.String moduleName)
Requests initial launch of the browser. |
void |
setTries(int tries)
Sets the number of times a test should be tried -- it succeeds if any attempt succeeds. |
boolean |
setupMode(TreeLogger logger,
boolean developmentMode)
Setup this RunStyle for the selected mode. |
boolean |
shouldAutoGenerateResources()
Whether the embedded server should ever generate resources. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RunStyle(JUnitShell shell)
shell - the containing shell| Method Detail |
|---|
public java.lang.String[] getInterruptedHosts()
public java.lang.String getLocalHostName()
public int getTries()
public abstract int initialize(java.lang.String args)
args - arguments passed in -runStyle option, null if none supplied
public abstract void launchModule(java.lang.String moduleName)
throws UnableToCompleteException
moduleName - the module to run
UnableToCompleteExceptionpublic void setTries(int tries)
tries - number of attempts
public boolean setupMode(TreeLogger logger,
boolean developmentMode)
logger - TreeLogger to use for any messagesdevelopmentMode - true if we are running in development mode rather
that web/production mode
public boolean shouldAutoGenerateResources()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||