Adding clear to CodeCoverageManager.

This commit is contained in:
Mark Story 2010-01-10 13:39:41 -05:00
parent d7164c416e
commit 645807211b

View file

@ -214,7 +214,6 @@ class CodeCoverageManager {
}
}
$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 @@ class CodeCoverageManager {
break;
}
}
CodeCoverageManager::clear();
if ($output) {
echo $result;