public class VerifyLinks extends Step
DEFAULT_DESCRIPTION, ELEMENT_ATTRIBUTE_ID, ELEMENT_ATTRIBUTE_NAME, PROPERTY_TYPE_ANT, PROPERTY_TYPE_ANT_STRICT, PROPERTY_TYPE_DEFAULT, PROPERTY_TYPE_DYNAMICdescription, location, project| Constructor and Description |
|---|
VerifyLinks() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addComputedParameters(java.util.Map map)
Adds parameters that are not issued from the config file but computed at runtime by the step
|
protected java.lang.String |
brokenLinksToString() |
protected void |
checkVisits(com.gargoylesoftware.htmlunit.WebClient webClient,
com.gargoylesoftware.htmlunit.html.HtmlPage response) |
void |
doExecute()
Called to perform the step's functionality.
|
protected void |
followRecursively(com.gargoylesoftware.htmlunit.html.HtmlPage htmlPage,
com.gargoylesoftware.htmlunit.WebClient webClient) |
java.lang.String |
getDepth() |
java.lang.String |
getExcludes() |
protected java.util.Set |
getFailedVisits() |
java.lang.String |
getIncludes() |
protected boolean |
isForeignHost(java.net.URL url) |
boolean |
isPerformingAction()
Indicates if this step performs an action on the browser
|
void |
setDepth(java.lang.String depth) |
void |
setExcludes(java.lang.String regex) |
void |
setIgnoreForeignJSErrors(boolean b) |
void |
setIncludes(java.lang.String regex) |
void |
setOnsiteonly(boolean onsiteonly) |
protected boolean |
stopHunting(com.gargoylesoftware.htmlunit.html.HtmlPage htmlPage) |
protected void |
verifyProperties() |
protected void |
visit(com.gargoylesoftware.htmlunit.html.HtmlPage referingPage,
java.net.URL url,
com.gargoylesoftware.htmlunit.WebClient webClient) |
clone, emptyParamCheck, execute, getComputedParameters, getContext, getDefaultPropertyType, getDescription, getDuration, getParameterDictionary, getStepLabel, getVerifier, getWebtestProperties, getWebtestProperties, getWebtestProperty, getWebtestProperty, handleException, hasDescription, integerParamCheck, isCompleted, isStarted, isSuccessful, notifyCompleted, notifyStarted, notifyStepResultsListeners, notifySuccess, nullParamCheck, nullResponseCheck, optionalIntegerParamCheck, paramCheck, positiveOrZeroParamCheck, setStepid, setWebtestProperty, setWebtestProperty, toString, verifyParametersbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypegetDescription, getLocation, getProject, setDescription, setLocation, setProjectprotected java.util.Set getFailedVisits()
public java.lang.String getDepth()
public void setDepth(java.lang.String depth)
public void setExcludes(java.lang.String regex)
public java.lang.String getExcludes()
public void setIncludes(java.lang.String regex)
public java.lang.String getIncludes()
public void setOnsiteonly(boolean onsiteonly)
public void setIgnoreForeignJSErrors(boolean b)
public void doExecute()
throws org.xml.sax.SAXException,
java.net.MalformedURLException
Stepprotected void addComputedParameters(java.util.Map map)
StepaddComputedParameters in class Stepmap - the map in which the parameters should be addedprotected void checkVisits(com.gargoylesoftware.htmlunit.WebClient webClient,
com.gargoylesoftware.htmlunit.html.HtmlPage response)
protected void visit(com.gargoylesoftware.htmlunit.html.HtmlPage referingPage,
java.net.URL url,
com.gargoylesoftware.htmlunit.WebClient webClient)
protected void followRecursively(com.gargoylesoftware.htmlunit.html.HtmlPage htmlPage,
com.gargoylesoftware.htmlunit.WebClient webClient)
protected java.lang.String brokenLinksToString()
protected boolean stopHunting(com.gargoylesoftware.htmlunit.html.HtmlPage htmlPage)
protected boolean isForeignHost(java.net.URL url)
protected void verifyProperties()
public boolean isPerformingAction()
StepisPerformingAction in class Step