Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 4 |
|
0.00% |
0 / 3 |
CRAP | |
0.00% |
0 / 1 |
PhpUnitSlowTest | |
0.00% |
0 / 4 |
|
0.00% |
0 / 3 |
12 | |
0.00% |
0 / 1 |
__construct | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
getDuration | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getTest | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | declare( strict_types = 1 ); |
3 | |
4 | namespace MediaWiki\Composer\PhpUnitSplitter; |
5 | |
6 | class PhpUnitSlowTest { |
7 | |
8 | private int $duration; |
9 | private string $test; |
10 | |
11 | public function __construct( int $duration, string $test ) { |
12 | $this->duration = $duration; |
13 | $this->test = $test; |
14 | } |
15 | |
16 | public function getDuration(): int { |
17 | return $this->duration; |
18 | } |
19 | |
20 | public function getTest(): string { |
21 | return $this->test; |
22 | } |
23 | |
24 | } |