paintSummary(); $this->paintMessages(); $this->paintSummary(); print '
'; } public function paintMessages() { print '
'; foreach ($this->_test->getMessages() as $message) { print "

$message

"; } print '
'; } public function paintSummary() { $color = ($this->_test->getFailCount() > 0 ? 'red' : 'green'); print '
'; print $this->_test->getTestCaseCount() . ' test cases. '; print '' . $this->_test->getPassCount() . ' passes and '; print '' . $this->_test->getFailCount() . ' fails.'; print '
'; } public function getProgressIndicator() {} }