Permalink
Browse files

Adding clear to CodeCoverageManager.

  • Loading branch information...
1 parent d7164c4 commit 645807211b9ec7f5e9cb4c07afd8748645935631 @markstory markstory committed Jan 10, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/tests/lib/code_coverage_manager.php
@@ -214,7 +214,6 @@ function report($output = true) {
}
}
$dump = xdebug_get_code_coverage();
- xdebug_stop_code_coverage();
$coverageData = array();
foreach ($dump as $file => $data) {
if (in_array($file, $testObjectFiles)) {
@@ -240,6 +239,7 @@ function report($output = true) {
break;
}
}
+ CodeCoverageManager::clear();
if ($output) {
echo $result;

0 comments on commit 6458072

Please sign in to comment.