2005/5/9

     
 

class TestCollectorListener

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

acdk::tools::aunit::TestCollectorListener Class Reference

#include <TestCollectorListener.h>

Inheritance diagram for acdk::tools::aunit::TestCollectorListener:

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

Detailed Description

Used internally to collect the results of a test.


Public Member Functions

 TestCollectorListener (IN(acdk::io::RStringWriter) out, IN(acdk::io::RStringWriter) err)
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)
RTestResultEntryArray getResults ()

Protected Attributes

RTestResultEntryArray _results
acdk::io::RStringWriter _out
acdk::io::RStringWriter _err


Constructor & Destructor Documentation

acdk::tools::aunit::TestCollectorListener::TestCollectorListener IN(acdk::io::RStringWriter out,
IN(acdk::io::RStringWriter err
[inline]
 


Member Function Documentation

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

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

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

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

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

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

virtual void acdk::tools::aunit::TestCollectorListener::endTest INP(RTest test  )  [inline, virtual]
 

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

RTestResultEntryArray acdk::tools::aunit::TestCollectorListener::getResults  )  [inline]
 

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

return true if test should be started

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


Member Data Documentation

acdk::io::RStringWriter acdk::tools::aunit::TestCollectorListener::_err [protected]
 

acdk::io::RStringWriter acdk::tools::aunit::TestCollectorListener::_out [protected]
 

RTestResultEntryArray acdk::tools::aunit::TestCollectorListener::_results [protected]