PHP Class TextReporter, simpletest

Inheritance: extends SimpleReporter
Datei anzeigen Open project: simpletest/simpletest Class Usage Examples

Public Methods

Method Description
__construct ( ) Does nothing yet. The first output will be sent on the first test start.
paintError ( string $message ) Paints a PHP error or exception.
paintException ( Exception $exception ) Paints a PHP error or exception.
paintFail ( string $message ) Paints the test failure as a stack trace.
paintFooter ( string $test_name ) Paints the end of the test with a summary of the passes and failures.
paintFormattedMessage ( string $message ) Paints formatted text such as dumped privateiables.
paintHeader ( string $test_name ) Paints the title only.
paintSkip ( string $message ) Prints the message for skipping tests.

Method Details

__construct() public method

Does nothing yet. The first output will be sent on the first test start.
public __construct ( )

paintError() public method

Paints a PHP error or exception.
public paintError ( string $message )
$message string Message to be shown.

paintException() public method

Paints a PHP error or exception.
public paintException ( Exception $exception )
$exception Exception Exception to describe.

paintFail() public method

Paints the test failure as a stack trace.
public paintFail ( string $message )
$message string Failure message displayed in the context of the other tests.

paintFooter() public method

Paints the end of the test with a summary of the passes and failures.
public paintFooter ( string $test_name )
$test_name string Name class of test.

paintFormattedMessage() public method

Paints formatted text such as dumped privateiables.
public paintFormattedMessage ( string $message )
$message string Text to show.

paintHeader() public method

Paints the title only.
public paintHeader ( string $test_name )
$test_name string Name class of test.

paintSkip() public method

Prints the message for skipping tests.
public paintSkip ( string $message )
$message string Text of skip condition.