Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

ccunit::TestSuiteFormatter Class Reference

Format a test suite report. Defaults to imitate a compiler error for ease of use within many editors. More...

#include <TestSuiteFormatter.hh>

Inheritance diagram for ccunit::TestSuiteFormatter:

ccunit::TestSuiteFormatterDoxygen List of all members.

Public Methods

 ~TestSuiteFormatter ()
virtual void header (ostream &ostr, const TestSuite &suite) const
 Generate an appropiate report header. More...

virtual void footer (ostream &ostr, const TestSuite &suite) const
 Generate an appropiate report footer. More...

virtual void printFailure (ostream &ostr, const TestComponent::ErrorReport &error_report) const
 Output information about a specific test failure. More...

virtual void printComponent (ostream &ostr, TestComponentPtr &comp) const
 Output a test component. More...


Detailed Description

Format a test suite report. Defaults to imitate a compiler error for ease of use within many editors.

Definition at line 13 of file TestSuiteFormatter.hh.


Constructor & Destructor Documentation

ccunit::TestSuiteFormatter::~TestSuiteFormatter  
 

Definition at line 12 of file TestSuiteFormatter.cc.


Member Function Documentation

void ccunit::TestSuiteFormatter::footer ostream &    ostr,
const TestSuite   suite
const [virtual]
 

Generate an appropiate report footer.

Reimplemented in ccunit::TestSuiteFormatterDoxygen.

Definition at line 29 of file TestSuiteFormatter.cc.

void ccunit::TestSuiteFormatter::header ostream &    ostr,
const TestSuite   suite
const [virtual]
 

Generate an appropiate report header.

Reimplemented in ccunit::TestSuiteFormatterDoxygen.

Definition at line 17 of file TestSuiteFormatter.cc.

void ccunit::TestSuiteFormatter::printComponent ostream &    ostr,
TestComponentPtr   comp
const [virtual]
 

Output a test component.

Reimplemented in ccunit::TestSuiteFormatterDoxygen.

Definition at line 46 of file TestSuiteFormatter.cc.

References ccunit::TestComponentPtr.

void ccunit::TestSuiteFormatter::printFailure ostream &    ostr,
const TestComponent::ErrorReport   error_report
const [virtual]
 

Output information about a specific test failure.

Reimplemented in ccunit::TestSuiteFormatterDoxygen.

Definition at line 40 of file TestSuiteFormatter.cc.


The documentation for this class was generated from the following files:
Generated on Tue Apr 2 15:33:27 2002 for libccunit by doxygen 1.2.14 written by Dimitri van Heesch, © 1997-2002

Project hosted on sourceforge SourceForge Logo