Permalink
Browse files

- Merge [1780].

  • Loading branch information...
sebastianbergmann committed Nov 28, 2007
1 parent a5d57e1 commit 408b38d5da96a48b9c19cbd6e98a4b27cd1f0528
Showing with 6 additions and 2 deletions.
  1. +3 −1 PHPUnit/Tests/Util/Log/MetricsTest.php
  2. +3 −1 PHPUnit/Tests/Util/Log/PMDTest.php
@@ -68,8 +68,10 @@ public function testBankAccount()
{
$this->markTestSkipped('Test break code coverage report.');
- $suite = new PHPUnit_Framework_TestSuite('BankAccountTest');
$result = new PHPUnit_Framework_TestResult;
+ $result->collectCodeCoverageInformation(TRUE);
+
+ $suite = new PHPUnit_Framework_TestSuite('BankAccountTest');
$suite->run($result);
$file = dirname(dirname(dirname(__FILE__))) . DIRECTORY_SEPARATOR .
@@ -68,8 +68,10 @@ public function testBankAccount()
{
$this->markTestSkipped('Test break code coverage report.');
- $suite = new PHPUnit_Framework_TestSuite('BankAccountTest');
$result = new PHPUnit_Framework_TestResult;
+ $result->collectCodeCoverageInformation(TRUE);
+
+ $suite = new PHPUnit_Framework_TestSuite('BankAccountTest');
$suite->run($result);
$file = dirname(dirname(dirname(__FILE__))) . DIRECTORY_SEPARATOR .

0 comments on commit 408b38d

Please sign in to comment.