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


Public Member Functions | |
| XmlReporter ($namespace=false, $indent= ' ') | |
| _getIndent ($offset=0) | |
| toParsedXml ($text) | |
| paintGroupStart ($test_name, $size) | |
| paintGroupEnd ($test_name) | |
| paintCaseStart ($test_name) | |
| paintCaseEnd ($test_name) | |
| paintMethodStart ($test_name) | |
| paintMethodEnd ($test_name) | |
| paintPass ($message) | |
| paintFail ($message) | |
| paintError ($message) | |
| paintException ($exception) | |
| paintSkip ($message) | |
| paintMessage ($message) | |
| paintFormattedMessage ($message) | |
| paintSignal ($type, $payload) | |
| paintHeader ($test_name) | |
| paintFooter ($test_name) | |
Data Fields | |
| $_indent | |
| $_namespace | |
| _getIndent | ( | $ | offset = 0 | ) |
| paintCaseEnd | ( | $ | test_name | ) |
Paints the end of a test case.
| string | $test_name | Name of test that is ending. public |
Reimplemented from SimpleReporter.
Definition at line 111 of file xml.php.

| paintCaseStart | ( | $ | test_name | ) |
Paints the start of a test case.
| string | $test_name | Name of test that is starting. public |
Reimplemented from SimpleReporter.
Definition at line 96 of file xml.php.

| paintError | ( | $ | message | ) |
Paints error as XML.
| string | $message | Message to encode. public |
Reimplemented from SimpleScorer.
Definition at line 175 of file xml.php.

| paintException | ( | $ | exception | ) |
Paints exception as XML.
| Exception | $exception | Exception to encode. public |
Reimplemented from SimpleScorer.
Definition at line 188 of file xml.php.

| paintFail | ( | $ | message | ) |
Paints failure as XML.
| string | $message | Message to encode. public |
Reimplemented from SimpleScorer.
Definition at line 162 of file xml.php.

| paintFooter | ( | $ | test_name | ) |
Paints the test document footer.
| string | $test_name | The top level test. public |
Reimplemented from SimpleReporter.
| paintFormattedMessage | ( | $ | message | ) |
Paints a formatted ASCII message such as a variable dump.
| string | $message | Text to display. public |
Reimplemented from SimpleScorer.
Definition at line 232 of file xml.php.

| paintGroupEnd | ( | $ | test_name | ) |
Paints the end of a group test.
| string | $test_name | Name of test that is ending. public |
Reimplemented from SimpleReporter.
Definition at line 85 of file xml.php.

| paintGroupStart | ( | $ | test_name, |
| $ | size | ||
| ) |
Paints the start of a group test.
| string | $test_name | Name of test that is starting. |
| integer | $size | Number of test cases starting. public |
Reimplemented from SimpleReporter.
Definition at line 70 of file xml.php.

| paintHeader | ( | $ | test_name | ) |
Paints the test document header.
| string | $test_name | First test top level to start. public |
Reimplemented from SimpleReporter.
Definition at line 261 of file xml.php.

| paintMessage | ( | $ | message | ) |
Paints a simple supplementary message.
| string | $message | Text to display. public |
Reimplemented from SimpleScorer.
Definition at line 218 of file xml.php.

| paintMethodEnd | ( | $ | test_name | ) |
Paints the end of a test method.
| string | $test_name | Name of test that is ending. |
| integer | $progress | Number of test cases ending. public |
Reimplemented from SimpleReporter.
Definition at line 138 of file xml.php.

| paintMethodStart | ( | $ | test_name | ) |
Paints the start of a test method.
| string | $test_name | Name of test that is starting. public |
Reimplemented from SimpleReporter.
Definition at line 122 of file xml.php.

| paintPass | ( | $ | message | ) |
Paints pass as XML.
| string | $message | Message to encode. public |
Reimplemented from SimpleScorer.
Definition at line 149 of file xml.php.

| paintSignal | ( | $ | type, |
| $ | payload | ||
| ) |
Serialises the event object.
| string | $type | Event type as text. |
| mixed | $payload | Message or object. public |
Reimplemented from SimpleScorer.
Definition at line 246 of file xml.php.

| paintSkip | ( | $ | message | ) |
Paints the skipping message and tag.
| string | $message | Text to display in skip tag. public |
Reimplemented from SimpleScorer.
Definition at line 205 of file xml.php.

| toParsedXml | ( | $ | text | ) |
| XmlReporter | ( | $ | namespace = false, |
| $ | indent = ' ' |
||
| ) |