Moodle  2.2.1
http://www.collinsharper.com
TextReporter Class Reference
Inheritance diagram for TextReporter:
Collaboration diagram for TextReporter:

Public Member Functions

 TextReporter ()
 paintHeader ($test_name)
 paintFooter ($test_name)
 paintFail ($message)
 paintError ($message)
 paintException ($exception)
 paintSkip ($message)
 paintFormattedMessage ($message)

Detailed Description

Definition at line 195 of file reporter.php.


Member Function Documentation

paintError ( message)

Paints a PHP error or exception.

Parameters:
string$messageMessage to be shown. public

Reimplemented from SimpleScorer.

Definition at line 259 of file reporter.php.

Here is the call graph for this function:

paintException ( exception)

Paints a PHP error or exception.

Parameters:
Exception$exceptionException to describe. public

Reimplemented from SimpleScorer.

Definition at line 274 of file reporter.php.

Here is the call graph for this function:

paintFail ( message)

Paints the test failure as a stack trace.

Parameters:
string$messageFailure message displayed in the context of the other tests. public

Reimplemented from SimpleScorer.

Definition at line 244 of file reporter.php.

Here is the call graph for this function:

paintFooter ( test_name)

Paints the end of the test with a summary of the passes and failures.

Parameters:
string$test_nameName class of test. public

Reimplemented from SimpleReporter.

Reimplemented in ColorTextReporter.

Definition at line 225 of file reporter.php.

Here is the call graph for this function:

paintFormattedMessage ( message)

Paints formatted text such as dumped variables.

Parameters:
string$messageText to show. public

Reimplemented from SimpleScorer.

Definition at line 302 of file reporter.php.

paintHeader ( test_name)

Paints the title only.

Parameters:
string$test_nameName class of test. public

Reimplemented from SimpleReporter.

Definition at line 211 of file reporter.php.

Here is the call graph for this function:

paintSkip ( message)

Prints the message for skipping tests.

Parameters:
string$messageText of skip condition. public

Reimplemented from SimpleScorer.

Definition at line 292 of file reporter.php.

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

Definition at line 202 of file reporter.php.

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations