Pinq\Tests\StreamingHTMLPrinter::printFooter PHP Метод

printFooter() защищенный Метод

protected printFooter ( PHPUnit_Framework_TestResult $result )
$result PHPUnit_Framework_TestResult
    protected function printFooter(\PHPUnit_Framework_TestResult $result)
    {
        $this->write('<span class="result">');
        parent::printFooter($result);
        $this->write('</span>');
        $this->write('<table class="timer">');
        $this->write('<tr><th class="title" colspan="2">Long running tests</th></tr>');
        $this->write('<tr><th>Test</th><th>Time</th></tr>');
        foreach (Timer::getLongRunningTests(10) as $testName => $timeTaken) {
            $timeTaken = round($timeTaken, 2) . 's';
            $this->write("<tr><td>{$testName}</td><td>{$timeTaken}</td></td>");
        }
        $this->write('</table>');
        $this->incrementalFlush();
    }