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


Public Member Functions | |
| SimpleReporter () | |
| getDumper () | |
| paintGroupStart ($test_name, $size) | |
| paintGroupEnd ($test_name) | |
| paintCaseStart ($test_name) | |
| paintCaseEnd ($test_name) | |
| paintMethodStart ($test_name) | |
| paintMethodEnd ($test_name) | |
| paintHeader ($test_name) | |
| paintFooter ($test_name) | |
| getTestList () | |
| getTestCaseCount () | |
| getTestCaseProgress () | |
Static Public Member Functions | |
| inCli () | |
Data Fields | |
| $_test_stack | |
| $_size | |
| $_progress | |
Definition at line 241 of file scorer.php.
| getDumper | ( | ) |
Gets the formatter for variables and other small generic data items.
Definition at line 263 of file scorer.php.
| getTestCaseCount | ( | ) |
Accessor for total test size in number of test cases. Null until the first test is started.
Definition at line 388 of file scorer.php.

Accessor for the number of test cases completed so far.
Definition at line 398 of file scorer.php.

| getTestList | ( | ) |
Accessor for internal test stack. For subclasses that need to see the whole test history for display purposes.
Definition at line 377 of file scorer.php.

| inCli | ( | ) | [static] |
Static check for running in the comand line.
Definition at line 408 of file scorer.php.

| paintCaseEnd | ( | $ | test_name | ) |
Paints the end of a test case. Will paint the page footer if the stack of tests has unwound.
| string | $test_name | Name of test that is ending. public |
Reimplemented from SimpleScorer.
Reimplemented in XmlReporter.
Definition at line 324 of file scorer.php.

| paintCaseStart | ( | $ | test_name | ) |
Paints the start of a test case. Will also paint the page header and footer if this is the first test. Will stash the size if the first start.
| string | $test_name | Name of test that is starting. public |
Reimplemented from SimpleScorer.
Reimplemented in WebUnitReporter, XmlReporter, and TestDoxReporter.
Definition at line 308 of file scorer.php.

| paintFooter | ( | $ | test_name | ) |
Paints the test document footer.
| string | $test_name | The top level test. public |
Reimplemented in XmlReporter, ExHtmlReporter, TextReporter, WebUnitReporter, HtmlReporter, and ColorTextReporter.
Definition at line 367 of file scorer.php.

| paintGroupEnd | ( | $ | test_name | ) |
Paints the end of a group test. Will paint the page footer if the stack of tests has unwound.
| string | $test_name | Name of test that is ending. |
| integer | $progress | Number of test cases ending. public |
Reimplemented from SimpleScorer.
Reimplemented in XmlReporter.
Definition at line 293 of file scorer.php.

| paintGroupStart | ( | $ | test_name, |
| $ | size | ||
| ) |
Paints the start of a group test. Will also paint the page header and footer if this is the first test. Will stash the size if the first start.
| string | $test_name | Name of test that is starting. |
| integer | $size | Number of test cases starting. public |
Reimplemented from SimpleScorer.
Reimplemented in WebUnitReporter, and XmlReporter.
Definition at line 276 of file scorer.php.

| paintHeader | ( | $ | test_name | ) |
Paints the test document header.
| string | $test_name | First test top level to start. public |
Reimplemented in XmlReporter, ExHtmlReporter, TextReporter, WebUnitReporter, and HtmlReporter.
Definition at line 358 of file scorer.php.

| paintMethodEnd | ( | $ | test_name | ) |
Paints the end of a test method. Will paint the page footer if the stack of tests has unwound.
| string | $test_name | Name of test that is ending. public |
Reimplemented from SimpleScorer.
Reimplemented in WebUnitReporter, and XmlReporter.
Definition at line 347 of file scorer.php.
| paintMethodStart | ( | $ | test_name | ) |
Paints the start of a test method.
| string | $test_name | Name of test that is starting. public |
Reimplemented from SimpleScorer.
Reimplemented in WebUnitReporter, XmlReporter, and TestDoxReporter.
Definition at line 337 of file scorer.php.
| SimpleReporter | ( | ) |
Starts the display with no results in. public
Definition at line 250 of file scorer.php.


| $_progress |
Definition at line 244 of file scorer.php.
| $_size |
Definition at line 243 of file scorer.php.
| $_test_stack |
Definition at line 242 of file scorer.php.