CppUnit project page FAQ

Public Member Functions | Protected Attributes | Private Member Functions
TextOutputter Class Reference

Prints a TestResultCollector to a text stream. More...

#include <TextOutputter.h>

Inheritance diagram for TextOutputter:
Inheritance graph
[legend]
Collaboration diagram for TextOutputter:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 TextOutputter (TestResultCollector *result, OStream &stream)
virtual ~TextOutputter ()
 Destructor.
void write ()
virtual void printFailures ()
virtual void printHeader ()
virtual void printFailure (TestFailure *failure, int failureNumber)
virtual void printFailureListMark (int failureNumber)
virtual void printFailureTestName (TestFailure *failure)
virtual void printFailureType (TestFailure *failure)
virtual void printFailureLocation (SourceLine sourceLine)
virtual void printFailureDetail (Exception *thrownException)
virtual void printFailureWarning ()
virtual void printStatistics ()
- Public Member Functions inherited from Outputter
virtual ~Outputter ()
 Destructor.

Protected Attributes

TestResultCollectorm_result
OStreamm_stream

Private Member Functions

 TextOutputter (const TextOutputter &copy)
 Prevents the use of the copy constructor.
void operator= (const TextOutputter &copy)
 Prevents the use of the copy operator.

Detailed Description

Prints a TestResultCollector to a text stream.


Constructor & Destructor Documentation

CPPUNIT_NS_BEGIN TextOutputter::TextOutputter ( TestResultCollector result,
OStream stream 
)
TextOutputter::~TextOutputter ( )
virtual

Destructor.

TextOutputter::TextOutputter ( const TextOutputter copy)
private

Prevents the use of the copy constructor.


Member Function Documentation

void TextOutputter::operator= ( const TextOutputter copy)
private

Prevents the use of the copy operator.

void TextOutputter::printFailure ( TestFailure failure,
int  failureNumber 
)
virtual
void TextOutputter::printFailureDetail ( Exception thrownException)
virtual
void TextOutputter::printFailureListMark ( int  failureNumber)
virtual
void TextOutputter::printFailureLocation ( SourceLine  sourceLine)
virtual
void TextOutputter::printFailures ( )
virtual
void TextOutputter::printFailureTestName ( TestFailure failure)
virtual
void TextOutputter::printFailureType ( TestFailure failure)
virtual
void TextOutputter::printFailureWarning ( )
virtual
void TextOutputter::printHeader ( )
virtual
void TextOutputter::printStatistics ( )
virtual
void TextOutputter::write ( )
virtual

Implements Outputter.


Member Data Documentation

TestResultCollector* TextOutputter::m_result
protected
OStream& TextOutputter::m_stream
protected

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

Send comments to:
CppUnit Developers