CppUnit project page FAQ CppUnit home page

Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

TextOutputter Class Reference
[Writing test result]

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

#include <TextOutputter.h>

Inheritance diagram for TextOutputter:

Outputter 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 ()

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:
SourceForge Logo hosts this site. Send comments to:
CppUnit Developers