|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| TextReporter () | |
| paintHeader ($test_name) | |
| paintFooter ($test_name) | |
| paintFail ($message) | |
| paintError ($message) | |
| paintException ($exception) | |
| paintSkip ($message) | |
| paintFormattedMessage ($message) | |
Definition at line 195 of file reporter.php.
| paintError | ( | $ | message | ) |
Paints a PHP error or exception.
| string | $message | Message to be shown. public |
Reimplemented from SimpleScorer.
Definition at line 259 of file reporter.php.

| paintException | ( | $ | exception | ) |
Paints a PHP error or exception.
| Exception | $exception | Exception to describe. public |
Reimplemented from SimpleScorer.
Definition at line 274 of file reporter.php.

| paintFail | ( | $ | message | ) |
Paints the test failure as a stack trace.
| string | $message | Failure message displayed in the context of the other tests. public |
Reimplemented from SimpleScorer.
Definition at line 244 of file reporter.php.

| paintFooter | ( | $ | test_name | ) |
Paints the end of the test with a summary of the passes and failures.
| string | $test_name | Name class of test. public |
Reimplemented from SimpleReporter.
Reimplemented in ColorTextReporter.
Definition at line 225 of file reporter.php.

| paintFormattedMessage | ( | $ | message | ) |
Paints formatted text such as dumped variables.
| string | $message | Text to show. public |
Reimplemented from SimpleScorer.
Definition at line 302 of file reporter.php.
| paintHeader | ( | $ | test_name | ) |
Paints the title only.
| string | $test_name | Name class of test. public |
Reimplemented from SimpleReporter.
Definition at line 211 of file reporter.php.

| paintSkip | ( | $ | message | ) |
Prints the message for skipping tests.
| string | $message | Text of skip condition. public |
Reimplemented from SimpleScorer.
Definition at line 292 of file reporter.php.
| TextReporter | ( | ) |
Does nothing yet. The first output will be sent on the first test start. public
Definition at line 202 of file reporter.php.

