1 | <?php |
||
16 | class TestResultContainer implements TestResultContainerInterface, TestResultHandlerInterface |
||
17 | { |
||
18 | /** @var TestResultFormat */ |
||
19 | private $testResultFormat; |
||
20 | |||
21 | /** @var string[] */ |
||
22 | private $filenames; |
||
23 | |||
24 | /** @var PrintableTestResultInterface[] */ |
||
25 | private $testResults; |
||
26 | |||
27 | /** |
||
28 | * TestResultContainer constructor. |
||
29 | * @param TestResultFormat $testResultFormat |
||
30 | */ |
||
31 | public function __construct(TestResultFormat $testResultFormat) |
||
37 | |||
38 | public function handleTestResult(AbstractParaunitProcess $process, TestResultInterface $testResult) |
||
53 | |||
54 | public function addProcessToFilenames(AbstractParaunitProcess $process) |
||
59 | |||
60 | public function getTestResultFormat(): TestResultFormat |
||
64 | |||
65 | /** |
||
66 | * @return string[] |
||
67 | */ |
||
68 | public function getFileNames(): array |
||
72 | |||
73 | /** |
||
74 | * @return PrintableTestResultInterface[] |
||
75 | */ |
||
76 | public function getTestResults(): array |
||
80 | |||
81 | public function countTestResults(): int |
||
85 | |||
86 | private function addProcessOutputToResult( |
||
94 | } |
||
95 |