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 () | |
Public Attributes | |
$_test_stack | |
$_size | |
$_progress |
Definition at line 222 of file scorer.php.
SimpleReporter::SimpleReporter | ( | ) |
Starts the display with no results in. public
Definition at line 231 of file scorer.php.
References SimpleScorer::SimpleScorer().
Referenced by DrupalReporter::DrupalReporter(), HtmlReporter::HtmlReporter(), TextReporter::TextReporter(), and XmlReporter::XmlReporter().
SimpleReporter::getDumper | ( | ) |
Gets the formatter for variables and other small generic data items.
Definition at line 244 of file scorer.php.
SimpleReporter::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 XmlReporter.
Definition at line 257 of file scorer.php.
References paintHeader().
SimpleReporter::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 DrupalReporter, and XmlReporter.
Definition at line 274 of file scorer.php.
References paintFooter().
SimpleReporter::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 DrupalReporter, and XmlReporter.
Definition at line 289 of file scorer.php.
References paintHeader().
SimpleReporter::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 DrupalReporter, and XmlReporter.
Definition at line 305 of file scorer.php.
References paintFooter().
SimpleReporter::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 XmlReporter.
Definition at line 318 of file scorer.php.
SimpleReporter::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 XmlReporter.
Definition at line 328 of file scorer.php.
SimpleReporter::paintHeader | ( | $ | test_name | ) |
Paints the test document header.
string | $test_name First test top level to start. public |
Reimplemented in DrupalReporter, HtmlReporter, TextReporter, and XmlReporter.
Definition at line 339 of file scorer.php.
Referenced by paintCaseStart(), and paintGroupStart().
SimpleReporter::paintFooter | ( | $ | test_name | ) |
Paints the test document footer.
string | $test_name The top level test. public |
Reimplemented in DrupalReporter, HtmlReporter, TextReporter, and XmlReporter.
Definition at line 347 of file scorer.php.
Referenced by paintCaseEnd(), and paintGroupEnd().
SimpleReporter::getTestList | ( | ) |
Accessor for internal test stack. For subclasses that need to see the whole test history for display purposes.
Definition at line 356 of file scorer.php.
Referenced by XmlReporter::_getIndent(), TextReporter::paintError(), HtmlReporter::paintError(), TextReporter::paintException(), HtmlReporter::paintException(), TextReporter::paintFail(), HtmlReporter::paintFail(), and HtmlReporter::paintSkip().
SimpleReporter::getTestCaseCount | ( | ) |
Accessor for total test size in number of test cases. Null until the first test is started.
Definition at line 367 of file scorer.php.
Referenced by TextReporter::paintFooter(), and HtmlReporter::paintFooter().
SimpleReporter::getTestCaseProgress | ( | ) |
Accessor for the number of test cases completed so far.
Definition at line 377 of file scorer.php.
Referenced by TextReporter::paintFooter(), HtmlReporter::paintFooter(), and DrupalReporter::paintGroupEnd().
SimpleReporter::inCli | ( | ) | [static] |
Static check for running in the comand line.
Definition at line 387 of file scorer.php.
Referenced by DefaultReporter::DefaultReporter(), XmlReporter::paintHeader(), and TextReporter::paintHeader().
SimpleReporter::$_test_stack |
Definition at line 223 of file scorer.php.
SimpleReporter::$_size |
Definition at line 224 of file scorer.php.
SimpleReporter::$_progress |
Definition at line 225 of file scorer.php.