1 | <?php |
||
15 | class Runner implements RunnerInterface |
||
16 | { |
||
17 | use HasEventEmitterTrait; |
||
18 | |||
19 | /** |
||
20 | * @var \Peridot\Core\Suite |
||
21 | */ |
||
22 | protected $suite; |
||
23 | |||
24 | /** |
||
25 | * @var \Peridot\Configuration |
||
26 | */ |
||
27 | protected $configuration; |
||
28 | |||
29 | /** |
||
30 | * @param Suite $suite |
||
31 | * @param Configuration $configuration |
||
32 | * @param EventEmitterInterface $eventEmitter |
||
33 | */ |
||
34 | public function __construct(Suite $suite, Configuration $configuration, EventEmitterInterface $eventEmitter) |
||
40 | |||
41 | /** |
||
42 | * {@inheritdoc} |
||
43 | * |
||
44 | * @param TestResult $result |
||
45 | */ |
||
46 | public function run(TestResult $result) |
||
62 | |||
63 | private function applyFocus(TestResult $result) |
||
73 | } |
||
74 |