| Total Complexity | 4 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| 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 | public function __construct($name) |
||
| 31 | } |
||
| 32 | |||
| 33 | public function setResult($result) |
||
| 34 | { |
||
| 35 | $this->result = $result; |
||
| 36 | } |
||
| 37 | |||
| 38 | public function getResult() |
||
| 39 | { |
||
| 40 | return $this->result; |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @return string |
||
| 45 | */ |
||
| 46 | public function getName() |
||
| 49 | } |
||
| 50 | } |
||
| 51 |