100% of 45OPs |
100% of 1Lines |
100% of 5Branches |
100% of 2Paths |
| Method | OPs | OPs % | Lines | Line % | Branches | Branches % | Paths | Path % |
|---|---|---|---|---|---|---|---|---|
| mageekguy\atoum\report\fields\test\run\phing::__toString() | 45 | 100% | 1 | 100% | 5 | 100% | 2 | 100% |
| # | |
|---|---|
| 1 |
<?php |
| 2 |
|
| 3 |
namespace mageekguy\atoum\report\fields\test\run; |
| 4 |
|
| 5 |
use |
| 6 |
mageekguy\atoum, |
| 7 |
mageekguy\atoum\locale, |
| 8 |
mageekguy\atoum\cli\prompt, |
| 9 |
mageekguy\atoum\cli\colorizer, |
| 10 |
mageekguy\atoum\report |
| 11 |
; |
| 12 |
|
| 13 |
class phing extends report\fields\test\run\cli |
| 14 |
{
|
| 15 |
public function __toString()100% |
| 16 |
{
|
| 17 |
return $this->prompt . ($this->testClass === null ? $this->colorizer->colorize($this->locale->_('There is currently no test running.')) : sprintf($this->locale->_('%s : '), $this->colorizer->colorize($this->testClass)));
|
| 18 |
} |
| 19 |
} |