JsUnit
Project Developer Home doxygen

Public Member Functions | List of all members
TestListener Class Reference

A listener for test progress. More...

Inheritance diagram for TestListener:
Inheritance graph
Collaboration diagram for TestListener:
Collaboration graph

Public Member Functions

virtual void TestListener ()
 
virtual void startTest (Test test)
 A test started. More...
 
virtual void endTest (Test test)
 A test ended. More...
 
virtual void addFailure (Test test, AssertionFailedError afe)
 An occured failure was added. More...
 
virtual void addError (Test test, Error except)
 An occurred error was added. More...
 

Detailed Description

A listener for test progress.

Constructor & Destructor Documentation

virtual void TestListener::TestListener ( )
virtual

Member Function Documentation

virtual void TestListener::addError ( Test  test,
Error  except 
)
virtual

An occurred error was added.

Parameters
testThe failed test.
exceptThe thrown error.
virtual void TestListener::addFailure ( Test  test,
AssertionFailedError  afe 
)
virtual

An occured failure was added.

Parameters
testThe failed test.
afeThe thrown assertion failure.
virtual void TestListener::endTest ( Test  test)
virtual

A test ended.

Parameters
testThe ended test.
virtual void TestListener::startTest ( Test  test)
virtual

A test started.

Parameters
testThe started test.

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

JsUnit © 1999, 2000, 2001, 2002, 2003, 2006, 2007 by Jörg Schaible
Generated on Wed Apr 15 2015 02:33:07 for JsUnit by doxygen 1.8.5