Package org.apache.tapestry5.test
Class ErrorReportingCommandProcessor
- java.lang.Object
-
- org.apache.tapestry5.test.ErrorReportingCommandProcessor
-
- All Implemented Interfaces:
com.thoughtworks.selenium.CommandProcessor
public class ErrorReportingCommandProcessor extends java.lang.Object implements com.thoughtworks.selenium.CommandProcessor
A wrapper around a standard command processor that adds additional exception reporting when a failure occurs.
-
-
Constructor Summary
Constructors Constructor Description ErrorReportingCommandProcessor(com.thoughtworks.selenium.CommandProcessor delegate, ErrorReporter errorReporter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
doCommand(java.lang.String command, java.lang.String[] args)
boolean
getBoolean(java.lang.String string, java.lang.String[] strings)
boolean[]
getBooleanArray(java.lang.String string, java.lang.String[] strings)
java.lang.Number
getNumber(java.lang.String string, java.lang.String[] strings)
java.lang.Number[]
getNumberArray(java.lang.String string, java.lang.String[] strings)
java.lang.String
getRemoteControlServerLocation()
java.lang.String
getString(java.lang.String string, java.lang.String[] strings)
java.lang.String[]
getStringArray(java.lang.String string, java.lang.String[] strings)
void
setExtensionJs(java.lang.String extensionJs)
void
start()
void
start(java.lang.Object optionsObject)
void
start(java.lang.String optionsString)
void
stop()
-
-
-
Constructor Detail
-
ErrorReportingCommandProcessor
public ErrorReportingCommandProcessor(com.thoughtworks.selenium.CommandProcessor delegate, ErrorReporter errorReporter)
-
-
Method Detail
-
doCommand
public java.lang.String doCommand(java.lang.String command, java.lang.String[] args)
- Specified by:
doCommand
in interfacecom.thoughtworks.selenium.CommandProcessor
-
getBoolean
public boolean getBoolean(java.lang.String string, java.lang.String[] strings)
- Specified by:
getBoolean
in interfacecom.thoughtworks.selenium.CommandProcessor
-
getBooleanArray
public boolean[] getBooleanArray(java.lang.String string, java.lang.String[] strings)
- Specified by:
getBooleanArray
in interfacecom.thoughtworks.selenium.CommandProcessor
-
getNumber
public java.lang.Number getNumber(java.lang.String string, java.lang.String[] strings)
- Specified by:
getNumber
in interfacecom.thoughtworks.selenium.CommandProcessor
-
getNumberArray
public java.lang.Number[] getNumberArray(java.lang.String string, java.lang.String[] strings)
- Specified by:
getNumberArray
in interfacecom.thoughtworks.selenium.CommandProcessor
-
getString
public java.lang.String getString(java.lang.String string, java.lang.String[] strings)
- Specified by:
getString
in interfacecom.thoughtworks.selenium.CommandProcessor
-
getStringArray
public java.lang.String[] getStringArray(java.lang.String string, java.lang.String[] strings)
- Specified by:
getStringArray
in interfacecom.thoughtworks.selenium.CommandProcessor
-
start
public void start()
- Specified by:
start
in interfacecom.thoughtworks.selenium.CommandProcessor
-
stop
public void stop()
- Specified by:
stop
in interfacecom.thoughtworks.selenium.CommandProcessor
-
getRemoteControlServerLocation
public java.lang.String getRemoteControlServerLocation()
- Specified by:
getRemoteControlServerLocation
in interfacecom.thoughtworks.selenium.CommandProcessor
- Since:
- 5.1.0.0
-
setExtensionJs
public void setExtensionJs(java.lang.String extensionJs)
- Specified by:
setExtensionJs
in interfacecom.thoughtworks.selenium.CommandProcessor
- Since:
- 5.1.0.0
-
start
public void start(java.lang.String optionsString)
- Specified by:
start
in interfacecom.thoughtworks.selenium.CommandProcessor
- Since:
- 5.1.0.0
-
start
public void start(java.lang.Object optionsObject)
- Specified by:
start
in interfacecom.thoughtworks.selenium.CommandProcessor
- Since:
- 5.1.0.0
-
-