Пример #1
0
 /**
  * Generates a Text summary of the coverage data.
  *
  * @param array $coverage Array of coverage data.
  * @return string
  */
 public function paintCoverage($coverage)
 {
     $file = dirname(dirname(__FILE__)) . '/coverage/text_coverage_report.php';
     include $file;
     $reporter = new TextCoverageReport($coverage, $this);
     echo $reporter->report();
 }
Пример #2
0
/**
 * Generates a Text summary of the coverage data.
 *
 * @param array $coverage Array of coverage data.
 * @return string
 */
	public function paintCoverage($coverage) {
		$reporter = new TextCoverageReport($coverage, $this);
		echo $reporter->report();
	}