CppUnit project page FAQ CppUnit home page

Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

CppUnit::TextTestResult Class Reference

#include <TextTestResult.h>

Inheritance diagram for CppUnit::TextTestResult:

Inheritance graph
[legend]
Collaboration diagram for CppUnit::TextTestResult:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual void addError (Test *test, Exception *e)
 Adds an error to the list of errors. More...

virtual void addFailure (Test *test, Exception *e)
 Adds a failure to the list of failures. More...

virtual void startTest (Test *test)
 Informs the result that a test will be started. More...

virtual void print (std::ostream &stream)
virtual void printErrors (std::ostream &stream)
virtual void printFailures (std::ostream &stream)
virtual void printHeader (std::ostream &stream)

Member Function Documentation

void CppUnit::TextTestResult::addError Test *   test,
Exception *   e
[virtual]
 

Adds an error to the list of errors.

The passed in exception caused the error

Reimplemented from CppUnit::TestResult.

void CppUnit::TextTestResult::addFailure Test *   test,
Exception *   e
[virtual]
 

Adds a failure to the list of failures.

The passed in exception caused the failure.

Reimplemented from CppUnit::TestResult.

void CppUnit::TextTestResult::print std::ostream &   stream [virtual]
 

void CppUnit::TextTestResult::printErrors std::ostream &   stream [virtual]
 

void CppUnit::TextTestResult::printFailures std::ostream &   stream [virtual]
 

void CppUnit::TextTestResult::printHeader std::ostream &   stream [virtual]
 

void CppUnit::TextTestResult::startTest Test *   test [virtual]
 

Informs the result that a test will be started.

Reimplemented from CppUnit::TestResult.


The documentation for this class was generated from the following files:
SourceForge Logo hosts this site. Send comments to:
CppUnit Developers