2005/5/9

     
 

class TestDebuggerListener

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

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

#include <TestDebuggerListener.h>

Inheritance diagram for acdk::tools::aunit::TestDebuggerListener:

acdk::lang::Object acdk::tools::aunit::TestListener acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

Listen to test and prints to console.


Public Member Functions

 TestDebuggerListener (int options=ReportAllSummary|ReportTestDetails|ReportTestSuccess)
virtual bool startTest (INP(RTest) test)
 return true if test should be started

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

Private Attributes

int _options
acdk::io::RPrintWriter _out


Constructor & Destructor Documentation

acdk::tools::aunit::TestDebuggerListener::TestDebuggerListener int  options = ReportAllSummary|ReportTestDetails|ReportTestSuccess  ) 
 

Parameters:
combination of TestReportOptions


Member Function Documentation

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

Implements acdk::tools::aunit::TestListener.

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

Implements acdk::tools::aunit::TestListener.

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

Implements acdk::tools::aunit::TestListener.

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

Implements acdk::tools::aunit::TestListener.

virtual bool acdk::tools::aunit::TestDebuggerListener::startTest INP(RTest test  )  [virtual]
 

return true if test should be started

Reimplemented from acdk::tools::aunit::TestListener.


Member Data Documentation

int acdk::tools::aunit::TestDebuggerListener::_options [private]
 

acdk::io::RPrintWriter acdk::tools::aunit::TestDebuggerListener::_out [private]