JsUnit
Project Developer Home doxygen

Public Member Functions | Public Attributes | List of all members
XMLResultPrinter Class Reference

Convert the result of a TextTestPrinter into XML to be used by JUnitReport. More...

Inheritance diagram for XMLResultPrinter:
Inheritance graph
Collaboration diagram for XMLResultPrinter:
Collaboration graph

Public Member Functions

void XMLResultPrinter (PrinterWriter writer)
 Constructor. More...
 
void printDefectHeader ()
 
void printFooter ()
 
void printDefect ()
 
void printHeader ()
 
void printErrors ()
 
void printFailures ()
 
void printDefects ()
 
void printDefectTrace ()
 
- Public Member Functions inherited from ResultPrinter
void ResultPrinter (PrinterWriter writer)
 Constructor. More...
 

Public Attributes

int mTests
 
int mCurrentTest
 
int mSuite
 
- Public Attributes inherited from ResultPrinter
int mColumn
 

Additional Inherited Members

- Protected Member Functions inherited from TestListener
virtual void TestListener ()
 
virtual void startTest (Test test)
 A test started. More...
 
virtual void endTest (Test test)
 A test ended. More...
 
virtual void addFailure (Test test, AssertionFailedError afe)
 An occured failure was added. More...
 
virtual void addError (Test test, Error except)
 An occurred error was added. More...
 

Detailed Description

Convert the result of a TextTestPrinter into XML to be used by JUnitReport.

Constructor & Destructor Documentation

void XMLResultPrinter::XMLResultPrinter ( PrinterWriter  writer)

Constructor.

Parameters
writerThe writer for the report. Initialization of the XMLResultPrinter. If no writer is provided the instance uses the SystemWriter.
Since
upcoming

Member Function Documentation

void XMLResultPrinter::printDefect ( )
void XMLResultPrinter::printDefectHeader ( )
void XMLResultPrinter::printDefects ( )
void XMLResultPrinter::printDefectTrace ( )
void XMLResultPrinter::printErrors ( )
void XMLResultPrinter::printFailures ( )
void XMLResultPrinter::printFooter ( )
void XMLResultPrinter::printHeader ( )

Member Data Documentation

int XMLResultPrinter::mCurrentTest
int XMLResultPrinter::mSuite
int XMLResultPrinter::mTests

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

JsUnit © 1999, 2000, 2001, 2002, 2003, 2006, 2007 by Jörg Schaible
Generated on Wed Apr 15 2015 02:33:07 for JsUnit by doxygen 1.8.5