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


Public Member Functions | |
| HtmlReporter ($character_set= 'ISO-8859-1') | |
| paintHeader ($test_name) | |
| _getCss () | |
| paintFooter ($test_name) | |
| paintFail ($message) | |
| paintError ($message) | |
| paintException ($exception) | |
| paintSkip ($message) | |
| paintFormattedMessage ($message) | |
| _htmlEntities ($message) | |
Static Public Member Functions | |
| sendNoCacheHeaders () | |
Data Fields | |
| $_character_set | |
Definition at line 21 of file reporter.php.
| _getCss | ( | ) |
Paints the CSS. Add additional styles here.
Definition at line 77 of file reporter.php.

| _htmlEntities | ( | $ | message | ) |
Character set adjusted entity conversion.
| string | $message | Plain text or Unicode message. |
Reimplemented in ExHtmlReporter.
Definition at line 181 of file reporter.php.

| HtmlReporter | ( | $ | character_set = 'ISO-8859-1' | ) |
Does nothing yet. The first output will be sent on the first test start. For use by a web browser. public
Definition at line 30 of file reporter.php.


| paintError | ( | $ | message | ) |
Paints a PHP error.
| string | $message | Message is ignored. public |
Reimplemented from SimpleScorer.
Reimplemented in ExHtmlReporter.
Definition at line 125 of file reporter.php.

| paintException | ( | $ | exception | ) |
Paints a PHP exception.
| Exception | $exception | Exception to display. public |
Reimplemented from SimpleScorer.
Reimplemented in ExHtmlReporter.
Definition at line 139 of file reporter.php.

| paintFail | ( | $ | message | ) |
Paints the test failure with a breadcrumbs trail of the nesting test suites below the top level test.
| string | $message | Failure message displayed in the context of the other tests. public |
Reimplemented from SimpleScorer.
Reimplemented in ExHtmlReporter.
Definition at line 111 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 ExHtmlReporter.
Definition at line 89 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 171 of file reporter.php.

| paintHeader | ( | $ | test_name | ) |
Paints the top of the web page setting the title to the name of the starting test.
| string | $test_name | Name class of test. public |
Reimplemented from SimpleReporter.
Reimplemented in ExHtmlReporter.
Definition at line 41 of file reporter.php.

| paintSkip | ( | $ | message | ) |
Prints the message for skipping tests.
| string | $message | Text of skip condition. public |
Reimplemented from SimpleScorer.
Reimplemented in ExHtmlReporter.
Definition at line 157 of file reporter.php.

| sendNoCacheHeaders | ( | ) | [static] |
Send the headers necessary to ensure the page is reloaded on every request. Otherwise you could be scratching your head over out of date test data. public
Definition at line 62 of file reporter.php.

| $_character_set |
Definition at line 22 of file reporter.php.