| Name | Size | Mode | Actions |
|---|---|---|---|
| CakeBaseReporter.php | 5748 | 0644 | editdlrm |
| CakeHtmlReporter.php | 12633 | 0644 | editdlrm |
| CakeTextReporter.php | 4533 | 0644 | editdlrm |
/home/desid573/public_html/family/pdd/lib/Cake/TestSuite/Reporter/CakeBaseReporter.php (5748B)
in an html page. * * @return void */ public function paintDocumentEnd() { } /** * Paint a list of test sets, core, app, and plugin test sets * available. * * @return void */ public function paintTestMenu() { } /** * Get the baseUrl if one is available. * * @return string The base URL for the request. */ public function baseUrl() { if (!empty($_SERVER['PHP_SELF'])) { return $_SERVER['PHP_SELF']; } return ''; } /** * Print result * * @param PHPUnit_Framework_TestResult $result The result object * @return void */ public function printResult(PHPUnit_Framework_TestResult $result) { $this->paintFooter($result); } /** * Paint result * * @param PHPUnit_Framework_TestResult $result The result object * @return void */ public function paintResult(PHPUnit_Framework_TestResult $result) { $this->paintFooter($result); } /** * An error occurred. * * @param PHPUnit_Framework_Test $test The test to add an error for. * @param Exception $e The exception object to add. * @param float $time The current time. * @return void */ public function addError(PHPUnit_Framework_Test $test, Exception $e, $time) { $this->paintException($e, $test); } /** * A failure occurred. * * @param PHPUnit_Framework_Test $test The test that failed * @param PHPUnit_Framework_AssertionFailedError $e The assertion that failed. * @param float $time The current time. * @return void */ public function addFailure(PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, $time) { $this->paintFail($e, $test); } /** * Incomplete test. * * @param PHPUnit_Framework_Test $test The test that was incomplete. * @param Exception $e The incomplete exception * @param float $time The current time. * @return void */ public function addIncompleteTest(PHPUnit_Framework_Test $test, Exception $e, $time) { $this->paintSkip($e, $test); } /** * Skipped test. * * @param PHPUnit_Framework_Test $test The test that failed. * @param Exception $e The skip object. * @param float $time The current time. * @return void */ public function addSkippedTest(PHPUnit_Framework_Test $test, Exception $e, $time) { $this->paintSkip($e, $test); } /** * A test suite started. * * @param PHPUnit_Framework_TestSuite $suite The suite to start * @return void */ public function startTestSuite(PHPUnit_Framework_TestSuite $suite) { if (!$this->_headerSent) { echo $this->paintHeader(); } echo __d('cake_dev', 'Running %s', $suite->getName()) . "\n"; } /** * A test suite ended. * * @param PHPUnit_Framework_TestSuite $suite The suite that ended. * @return void */ public function endTestSuite(PHPUnit_Framework_TestSuite $suite) { } /** * A test started. * * @param PHPUnit_Framework_Test $test The test that started. * @return void */ public function startTest(PHPUnit_Framework_Test $test) { } /** * A test ended. * * @param PHPUnit_Framework_Test $test The test that ended * @param float $time The current time. * @return void */ public function endTest(PHPUnit_Framework_Test $test, $time) { $this->numAssertions += $test->getNumAssertions(); if ($test->hasFailed()) { return; } $this->paintPass($test, $time); } }