public class RunStyleHtmlUnit extends RunStyle
Modifier and Type | Class and Description |
---|---|
protected static class |
RunStyleHtmlUnit.HtmlUnitThread
Runs HTMLUnit in a separate thread.
|
Constructor and Description |
---|
RunStyleHtmlUnit(JUnitShell shell)
Create a RunStyle instance with the passed-in browser targets.
|
Modifier and Type | Method and Description |
---|---|
protected RunStyleHtmlUnit.HtmlUnitThread |
createHtmlUnitThread(com.gargoylesoftware.htmlunit.BrowserVersion browser,
String url) |
Set<Platform> |
getPlatforms()
Returns the platforms specific to this run style.
|
int |
initialize(String args)
Initialize the runstyle with any supplied arguments, and return the number
of clients this runstyle controls.
|
void |
launchModule(String moduleName)
Requests initial launch of the browser.
|
int |
numBrowsers() |
boolean |
setupMode(com.google.gwt.core.ext.TreeLogger logger,
boolean developmentMode)
Setup this RunStyle for the selected mode.
|
getInterruptedHosts, getLocalHostName, getLogger, getTries, getUserAgents, setTries, setUserAgents, shouldAutoGenerateResources
public RunStyleHtmlUnit(JUnitShell shell)
public Set<Platform> getPlatforms()
RunStyle
getPlatforms
in class RunStyle
public int initialize(String args)
RunStyle
initialize
in class RunStyle
args
- arguments passed in -runStyle option, null if none suppliedpublic void launchModule(String moduleName)
RunStyle
launchModule
in class RunStyle
moduleName
- the module to runpublic int numBrowsers()
public boolean setupMode(com.google.gwt.core.ext.TreeLogger logger, boolean developmentMode)
RunStyle
protected RunStyleHtmlUnit.HtmlUnitThread createHtmlUnitThread(com.gargoylesoftware.htmlunit.BrowserVersion browser, String url)
Copyright © 2016. All rights reserved.