Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 3 |
CRAP | |
0.00% |
0 / 12 |
Fail | |
0.00% |
0 / 1 |
|
0.00% |
0 / 3 |
12 | |
0.00% |
0 / 12 |
__construct(\PHPUnit_Framework_Test $test, \Exception $e, $count = 0) | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 5 |
|||
getCount() | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 4 |
|||
getFail() | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 3 |
<?php | |
namespace Codeception\Event; | |
use \Symfony\Component\EventDispatcher\Event; | |
class Fail extends Test | |
{ | |
/** | |
* @var \Exception | |
*/ | |
protected $fail; | |
protected $count; | |
public function __construct(\PHPUnit_Framework_Test $test, \Exception $e, $count = 0) { | |
$this->test = $test; | |
$this->fail = $e; | |
$this->count = $count; | |
} | |
public function getCount() | |
{ | |
return $this->count; | |
} | |
public function getFail() { | |
return $this->fail; | |
} | |
} |