2005/5/9

     
 

class TestListener

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::tools::aunit::TestListener Class Reference
[Classes, functions, macros for the ACDK unit test framework]

#include <TestListener.h>

Inheritance diagram for acdk::tools::aunit::TestListener:

acdk::tools::aunit::guitestrunner::GuiTestListener acdk::tools::aunit::TestCollectorListener acdk::tools::aunit::TestConsoleListener acdk::tools::aunit::TestDebuggerListener List of all members.

Detailed Description

Listen to a executing test.


Public Member Functions

virtual bool startTest (INP(RTest) test)
 return true if test should be started

virtual void endTest (INP(RTest) test)=0
virtual void addError (INP(RTest) test, INP(RThrowable) ex)=0
virtual void addFailure (INP(RTest) test, INP(RTestException) ex)=0
virtual void addSuccess (INP(RTest) test, INP(RTestExpression) testExpr)=0


Member Function Documentation

virtual void acdk::tools::aunit::TestListener::addError INP(RTest test,
INP(RThrowable ex
[pure virtual]
 

Implemented in acdk::tools::aunit::TestCollectorListener, acdk::tools::aunit::TestConsoleListener, and acdk::tools::aunit::TestDebuggerListener.

virtual void acdk::tools::aunit::TestListener::addFailure INP(RTest test,
INP(RTestException ex
[pure virtual]
 

Implemented in acdk::tools::aunit::TestCollectorListener, acdk::tools::aunit::TestConsoleListener, and acdk::tools::aunit::TestDebuggerListener.

virtual void acdk::tools::aunit::TestListener::addSuccess INP(RTest test,
INP(RTestExpression testExpr
[pure virtual]
 

Implemented in acdk::tools::aunit::TestCollectorListener, acdk::tools::aunit::TestConsoleListener, and acdk::tools::aunit::TestDebuggerListener.

virtual void acdk::tools::aunit::TestListener::endTest INP(RTest test  )  [pure virtual]
 

Implemented in acdk::tools::aunit::TestCollectorListener, acdk::tools::aunit::TestConsoleListener, and acdk::tools::aunit::TestDebuggerListener.

virtual bool acdk::tools::aunit::TestListener::startTest INP(RTest test  )  [inline, virtual]
 

return true if test should be started

Reimplemented in acdk::tools::aunit::TestCollectorListener, acdk::tools::aunit::TestConsoleListener, and acdk::tools::aunit::TestDebuggerListener.