org.apache.tapestry5.test
Class ErrorReportingCommandProcessor

java.lang.Object
  extended by org.apache.tapestry5.test.ErrorReportingCommandProcessor
All Implemented Interfaces:
com.thoughtworks.selenium.CommandProcessor

public class ErrorReportingCommandProcessor
extends Object
implements com.thoughtworks.selenium.CommandProcessor

A wrapper around a standard command processor that adds additional exception reporting when a failure occurs.


Constructor Summary
ErrorReportingCommandProcessor(com.thoughtworks.selenium.CommandProcessor delegate, ErrorReporter errorReporter)
           
 
Method Summary
 String doCommand(String command, String[] args)
           
 boolean getBoolean(String string, String[] strings)
           
 boolean[] getBooleanArray(String string, String[] strings)
           
 Number getNumber(String string, String[] strings)
           
 Number[] getNumberArray(String string, String[] strings)
           
 String getRemoteControlServerLocation()
           
 String getString(String string, String[] strings)
           
 String[] getStringArray(String string, String[] strings)
           
 void setExtensionJs(String extensionJs)
           
 void start()
           
 void start(Object optionsObject)
           
 void start(String optionsString)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorReportingCommandProcessor

public ErrorReportingCommandProcessor(com.thoughtworks.selenium.CommandProcessor delegate,
                                      ErrorReporter errorReporter)
Method Detail

doCommand

public String doCommand(String command,
                        String[] args)
Specified by:
doCommand in interface com.thoughtworks.selenium.CommandProcessor

getBoolean

public boolean getBoolean(String string,
                          String[] strings)
Specified by:
getBoolean in interface com.thoughtworks.selenium.CommandProcessor

getBooleanArray

public boolean[] getBooleanArray(String string,
                                 String[] strings)
Specified by:
getBooleanArray in interface com.thoughtworks.selenium.CommandProcessor

getNumber

public Number getNumber(String string,
                        String[] strings)
Specified by:
getNumber in interface com.thoughtworks.selenium.CommandProcessor

getNumberArray

public Number[] getNumberArray(String string,
                               String[] strings)
Specified by:
getNumberArray in interface com.thoughtworks.selenium.CommandProcessor

getString

public String getString(String string,
                        String[] strings)
Specified by:
getString in interface com.thoughtworks.selenium.CommandProcessor

getStringArray

public String[] getStringArray(String string,
                               String[] strings)
Specified by:
getStringArray in interface com.thoughtworks.selenium.CommandProcessor

start

public void start()
Specified by:
start in interface com.thoughtworks.selenium.CommandProcessor

stop

public void stop()
Specified by:
stop in interface com.thoughtworks.selenium.CommandProcessor

getRemoteControlServerLocation

public String getRemoteControlServerLocation()
Specified by:
getRemoteControlServerLocation in interface com.thoughtworks.selenium.CommandProcessor
Since:
5.1.0.0

setExtensionJs

public void setExtensionJs(String extensionJs)
Specified by:
setExtensionJs in interface com.thoughtworks.selenium.CommandProcessor
Since:
5.1.0.0

start

public void start(String optionsString)
Specified by:
start in interface com.thoughtworks.selenium.CommandProcessor
Since:
5.1.0.0

start

public void start(Object optionsObject)
Specified by:
start in interface com.thoughtworks.selenium.CommandProcessor
Since:
5.1.0.0


Copyright © 2003-2012 The Apache Software Foundation.