Permalink
Browse files

Merge pull request #1 from EmilHaukeland/patch-1

addRiskyTest required by interface since 4.0.0
  • Loading branch information...
2 parents 0e1d32d + fd25a44 commit f225b7d83799d2661793e3bb23ed300943d60c0f @maartenba committed Dec 2, 2014
Showing with 9 additions and 0 deletions.
  1. +9 −0 phpunit-tc.php
View
@@ -122,6 +122,15 @@ public function addSkippedTest(PHPUnit_Framework_Test $test, Exception $e, $time
"details" => self::getDetails($e)
));
}
+
+ public function addRiskyTest(PHPUnit_Framework_Test $test, Exception $e, $time)
+ {
+ self::printEvent("testIgnored", array(
+ "name" => $test->getName(),
+ "message" => self::getMessage($e),
+ "details" => self::getDetails($e)
+ ));
+ }
public function startTest(PHPUnit_Framework_Test $test)
{

0 comments on commit f225b7d

Please sign in to comment.