mageekguy\atoum\report\fields\test\event\phing: lines coverage

84% of 77

OPs

95% of 20

Lines

63% of 27

Branches

78% of 9

Paths
Method OPs OPs % Lines Line % Branches Branches % Paths Path %
mageekguy\atoum\report\fields\test\event\phing::__toString() 77 84% 20 95% 27 63% 9 78%
#
1
<?php
2

                    
3
namespace mageekguy\atoum\report\fields\test\event;
4

                    
5
use
6
	mageekguy\atoum,
7
	mageekguy\atoum\report,
8
	mageekguy\atoum\exceptions
9
;
10

                    
11
class phing extends report\fields\test\event\cli
12
{
13
	public function __toString()95%
14
	{
15
		switch ($this->event)
16
		{
17
			case atoum\test::runStart:
18
				return '[';
19

                    
20
			case atoum\test::runStop:
21
				 return '] ';
22

                    
23
			case atoum\test::success:
24
				 return 'S';
25

                    
26
			case atoum\test::void:
27
				 return '0';
28

                    
29
			case atoum\test::uncompleted:
30
				 return 'U';
31

                    
32
			case atoum\test::fail:
33
				 return 'F';
34

                    
35
			case atoum\test::error:
36
				 return 'e';
37

                    
38
			case atoum\test::exception:
39
				 return 'E';
40

                    
41
			default:
42
				 return '';
43
		}
44
	}
45
}