/**
  * Paints a code coverage report.
  *
  * @param array $coverage The coverage data
  * @return void
  */
 public function paintCoverage(array $coverage)
 {
     App::uses('HtmlCoverageReport', 'TestSuite/Coverage');
     $reporter = new HtmlCoverageReport($coverage, $this);
     echo $reporter->report();
 }
 /**
  * Paints a code coverage report.
  *
  * @return void
  */
 public function paintCoverage(array $coverage)
 {
     $file = dirname(dirname(__FILE__)) . '/coverage/html_coverage_report.php';
     include_once $file;
     $reporter = new HtmlCoverageReport($coverage, $this);
     echo $reporter->report();
 }