cakephp2-php8/cake/tests/lib/coverage/html_coverage_report.php
Mark Story fd073809d0 Removing references to non phpunit code coverage parsing.
Adding stub of new code coverage report generator.
Updating related files.
2010-05-08 17:14:47 -04:00

35 lines
No EOL
539 B
PHP

<?php
/**
* Generates an HTML coverage report from data provided by PHPUnit.
*
* @package default
* @author Mark Story
*/
class HtmlCoverageReport {
/**
* coverage data
*
* @var string
*/
protected $_coverage;
/**
* Constructor
*
* @param array $coverage Array of coverage data from PHPUnit_Test_Result
* @return void
*/
public function __construct($coverage) {
$this->_coverage = $coverage;
}
/**
* Generates report html to display.
*
* @return string compiled html report.
*/
public function report() {
}
}