ERXBatchTestInterface Class Reference

Inherits er::testrunner::ERXTestListener.

Collaboration diagram for ERXBatchTestInterface:

Collaboration graph
[legend]

List of all members.

Public Member Functions

synchronized void addError (Test test, Throwable t)
synchronized void addFailure (Test test, AssertionFailedError t)
void clearStatus ()
void endTest (Test test)
String errorMessage ()
 ERXBatchTestInterface (String test)
void performTest (Logger userLogger, boolean showExceptions)
synchronized void print ()
void runFailed (String message)
long runTime ()
boolean showExceptions ()
synchronized void startTest (Test test)
String test ()
ERXTestResult testResult ()

Static Public Attributes

static final boolean HIDE_EXCEPTIONS = false
static final Logger log = Logger.getLogger(ERXBatchTestInterface.class)
static final boolean SHOW_EXCEPTIONS = true

Protected Member Functions

ERXTestResult doRun (Test suite)
void printErrors ()
void printFailures ()
void printHeader ()
ERXTestResult start () throws Exception

Protected Attributes

String _errorMessage
boolean _showExceptions
String _test
ERXTestRunner aTestRunner
long runTime
ERXTestResult testResult

Private Member Functions

void resetInterface ()
Logger userLog ()

Private Attributes

Logger _userLog


Detailed Description

Used for running a batch of tests.

Constructor & Destructor Documentation

ERXBatchTestInterface ( String  test  ) 


Member Function Documentation

synchronized void addError ( Test  test,
Throwable  t 
)

synchronized void addFailure ( Test  test,
AssertionFailedError  t 
)

void clearStatus (  ) 

Implements ERXTestListener.

ERXTestResult doRun ( Test  suite  )  [protected]

void endTest ( Test  test  ) 

String errorMessage (  ) 

void performTest ( Logger  userLogger,
boolean  showExceptions 
)

synchronized void print (  ) 

void printErrors (  )  [protected]

Prints the errors to the standard output

void printFailures (  )  [protected]

Prints failures to the standard output

void printHeader (  )  [protected]

Prints the header of the report

void resetInterface (  )  [private]

void runFailed ( String  message  ) 

Implements ERXTestListener.

long runTime (  ) 

boolean showExceptions (  ) 

ERXTestResult start (  )  throws Exception [protected]

synchronized void startTest ( Test  test  ) 

String test (  ) 

Logger userLog (  )  [private]


Member Data Documentation

String _errorMessage [protected]

boolean _showExceptions [protected]

String _test [protected]

Logger _userLog [private]

final boolean HIDE_EXCEPTIONS = false [static]

final Logger log = Logger.getLogger(ERXBatchTestInterface.class) [static]

logging support

long runTime [protected]

final boolean SHOW_EXCEPTIONS = true [static]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:36 2012 for Project Wonder by  doxygen 1.5.8