Total Complexity | 4 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Coverage | 53.33% |
Changes | 0 |
1 | <?php |
||
16 | class TestCase |
||
17 | { |
||
18 | const RESULT_UNKNOWN = -1; |
||
19 | const RESULT_PASSED = 0; |
||
20 | const RESULT_SKIPPED = 1; |
||
21 | const RESULT_ERROR = 5; |
||
22 | const RESULT_FAILED = 3; |
||
23 | |||
24 | private $name; |
||
25 | |||
26 | private $result; |
||
27 | |||
28 | 4 | public function __construct($name) |
|
29 | { |
||
30 | 4 | $this->name = $name; |
|
31 | } |
||
32 | |||
33 | 6 | public function setResult($result) |
|
34 | { |
||
35 | 6 | $this->result = $result; |
|
36 | } |
||
37 | |||
38 | 1 | public function getResult() |
|
41 | } |
||
42 | |||
43 | /** |
||
44 | * @return string |
||
45 | */ |
||
46 | 2 | public function getName() |
|
49 | } |
||
50 | } |
||
51 |