| 1 | <?php |
||
| 11 | class TestResultFormat |
||
| 12 | { |
||
| 13 | /** @var string */ |
||
| 14 | private $tag; |
||
| 15 | |||
| 16 | /** @var string */ |
||
| 17 | private $title; |
||
| 18 | |||
| 19 | /** @var bool */ |
||
| 20 | private $printTestOutput; |
||
| 21 | |||
| 22 | /** @var bool */ |
||
| 23 | private $printFilesRecap; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * TestResultFormat constructor. |
||
| 27 | * @param string $tag |
||
| 28 | * @param string $title |
||
| 29 | * @param bool $printTestOutput |
||
| 30 | * @param bool $printFilesRecap |
||
| 31 | */ |
||
| 32 | 84 | public function __construct(string $tag, string $title, bool $printTestOutput = true, bool $printFilesRecap = true) |
|
| 39 | |||
| 40 | 50 | public function getTag(): string |
|
| 44 | |||
| 45 | 18 | public function getTitle(): string |
|
| 49 | |||
| 50 | 25 | public function shouldPrintTestOutput(): bool |
|
| 54 | |||
| 55 | 25 | public function shouldPrintFilesRecap(): bool |
|
| 59 | } |
||
| 60 |