com.google.gwt.junit
Class RunStyleSelenium

java.lang.Object
  extended by com.google.gwt.junit.RunStyle
      extended by com.google.gwt.junit.RunStyleSelenium

public class RunStyleSelenium
extends RunStyle

Runs via browsers managed by Selenium.


Constructor Summary
RunStyleSelenium(JUnitShell shell)
           
 
Method Summary
 java.lang.String[] getInterruptedHosts()
          Tests whether the test was interrupted.
 int initialize(java.lang.String args)
          Initialize the runstyle with any supplied arguments, and return the number of clients this runstyle controls.
 void launchModule(java.lang.String moduleName)
          Requests initial launch of the browser.
 
Methods inherited from class com.google.gwt.junit.RunStyle
getLocalHostName, getTries, setTries, setupMode, shouldAutoGenerateResources
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RunStyleSelenium

public RunStyleSelenium(JUnitShell shell)
Method Detail

getInterruptedHosts

public java.lang.String[] getInterruptedHosts()
Description copied from class: RunStyle
Tests whether the test was interrupted.

Overrides:
getInterruptedHosts in class RunStyle
Returns:
the interrupted hosts, or null if not interrupted

initialize

public int initialize(java.lang.String args)
Description copied from class: RunStyle
Initialize the runstyle with any supplied arguments, and return the number of clients this runstyle controls.

Specified by:
initialize in class RunStyle
Parameters:
args - arguments passed in -runStyle option, null if none supplied
Returns:
the number of clients, or -1 if initialization was unsuccessful

launchModule

public void launchModule(java.lang.String moduleName)
                  throws UnableToCompleteException
Description copied from class: RunStyle
Requests initial launch of the browser. This should only be called once per instance of RunStyle.

Specified by:
launchModule in class RunStyle
Parameters:
moduleName - the module to run
Throws:
UnableToCompleteException