Public Member Functions | |
TextReporter () | |
paintHeader ($test_name) | |
paintFooter ($test_name) | |
paintFail ($message) | |
paintError ($message) | |
paintException ($exception) | |
paintSkip ($message) | |
paintFormattedMessage ($message) |
Definition at line 178 of file reporter.php.
TextReporter::TextReporter | ( | ) |
Does nothing yet. The first output will be sent on the first test start. public
Definition at line 185 of file reporter.php.
References SimpleReporter::SimpleReporter().
TextReporter::paintHeader | ( | $ | test_name | ) |
Paints the title only.
string | $test_name Name class of test. public |
Reimplemented from SimpleReporter.
Definition at line 194 of file reporter.php.
References SimpleReporter::inCli(), and print.
TextReporter::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.
Definition at line 208 of file reporter.php.
References SimpleScorer::getExceptionCount(), SimpleScorer::getFailCount(), SimpleScorer::getPassCount(), SimpleReporter::getTestCaseCount(), SimpleReporter::getTestCaseProgress(), and print.
TextReporter::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 224 of file reporter.php.
References SimpleScorer::getFailCount(), SimpleReporter::getTestList(), and print.
TextReporter::paintError | ( | $ | message | ) |
Paints a PHP error or exception.
string | $message Message to be shown. public |
Reimplemented from SimpleScorer.
Definition at line 239 of file reporter.php.
References SimpleScorer::getExceptionCount(), SimpleReporter::getTestList(), and print.
TextReporter::paintException | ( | $ | exception | ) |
Paints a PHP error or exception.
Exception | $exception Exception to describe. public |
Reimplemented from SimpleScorer.
Definition at line 254 of file reporter.php.
References SimpleScorer::getExceptionCount(), SimpleReporter::getTestList(), and print.
TextReporter::paintSkip | ( | $ | message | ) |
Prints the message for skipping tests.
string | $message Text of skip condition. public |
Reimplemented from SimpleScorer.
Definition at line 269 of file reporter.php.
References print.
TextReporter::paintFormattedMessage | ( | $ | message | ) |
Paints formatted text such as dumped variables.
string | $message Text to show. public |
Reimplemented from SimpleScorer.
Definition at line 279 of file reporter.php.
References print.