JsUnit 1.3
Project Developer Home doxygen

TextTestRunner Class Reference

Inheritance diagram for TextTestRunner:

Inheritance graph
[legend]
Collaboration diagram for TextTestRunner:

Collaboration graph
[legend]
List of all members.

Detailed Description

Class for an application running test suites with a test based status report.


Public Member Functions

void TextTestRunner (Object outdev)
 The constructor.

Static Public Attributes

static Number EXCEPTION_EXIT
 Exit code, when at least one test fails with an error.
static Number SUCCESS_EXIT
 Exit code, when all tests succeed.
static Number FAILURE_EXIT
 Exit code, when at least one test fails with a failure.


Constructor & Destructor Documentation

void TextTestRunner::TextTestRunner ( Object  outdev  ) 

The constructor.

Parameters:
outdev Output device The TestRunner is initialized with the given output device. This may be an instance of a ResultPrinter, a PrinterWriter or undefined. For a PrinterWriter the constructor creates a new instance of a standard ResultPrinter with this PrinterWriter. If outdev is undefined it creates a ResultPrinter with the SystemWriter.


Member Data Documentation

Number TextTestRunner::EXCEPTION_EXIT [static]

Exit code, when at least one test fails with an error.

Number TextTestRunner::SUCCESS_EXIT [static]

Exit code, when all tests succeed.

Number TextTestRunner::FAILURE_EXIT [static]

Exit code, when at least one test fails with a failure.


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 Fri Oct 19 23:11:38 2007 for JsUnit by doxygen 1.5.2