Permalink
Browse files

Skipped tests were not logged by the junit logger evene if logIncompl…

…eteSkipped was set to true because the logger was not notified that the test has been started or ended when sending the 'incomplete' notify.
  • Loading branch information...
1 parent 6e5fc18 commit 30260556cbf278ac04e2d3a96feaeaa287259668 Florian Zumkeller-Quast committed May 18, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 PHPUnit/Framework/TestCase.php
@@ -1567,6 +1567,7 @@ protected function handleDependencies()
}
if (!isset($passedKeys[$dependency])) {
+ $this->result->startTest($this);
$this->result->addError(
$this,
new PHPUnit_Framework_SkippedTestError(
@@ -1576,6 +1577,7 @@ protected function handleDependencies()
),
0
);
+ $this->result->endTest($this, 0);
return FALSE;
}

0 comments on commit 3026055

Please sign in to comment.