1 | <?php |
||
13 | class DelegatingListener implements TestListener |
||
14 | 10 | { |
|
15 | 10 | /** TestListener[] */ |
|
16 | private $listenerList = []; |
||
17 | |||
18 | /** |
||
19 | * {@inheritdoc} |
||
20 | 1 | */ |
|
21 | public function addListener(TestListener $listener) |
||
25 | 1 | ||
26 | /** |
||
27 | 1 | * @return TestListener[] |
|
28 | 1 | */ |
|
29 | public function getListenerList() |
||
33 | |||
34 | 1 | /** |
|
35 | 1 | * {@inheritdoc} |
|
36 | */ |
||
37 | 1 | public function addError(Test $test, \Exception $e, $time) |
|
43 | |||
44 | 1 | /** |
|
45 | * {@inheritdoc} |
||
46 | 1 | */ |
|
47 | public function addWarning(Test $test, Warning $e, $time) |
||
53 | 1 | ||
54 | /** |
||
55 | 1 | * {@inheritdoc} |
|
56 | 1 | */ |
|
57 | public function addFailure(Test $test, AssertionFailedError $e, $time) |
||
63 | 1 | ||
64 | /** |
||
65 | 1 | * {@inheritdoc} |
|
66 | */ |
||
67 | 1 | public function addIncompleteTest(Test $test, \Exception $e, $time) |
|
73 | |||
74 | 1 | /** |
|
75 | * {@inheritdoc} |
||
76 | 1 | */ |
|
77 | 1 | public function addRiskyTest(Test $test, \Exception $e, $time) |
|
83 | 1 | ||
84 | 1 | /** |
|
85 | * {@inheritdoc} |
||
86 | 1 | */ |
|
87 | public function addSkippedTest(Test $test, \Exception $e, $time) |
||
93 | |||
94 | /** |
||
95 | * {@inheritdoc} |
||
96 | */ |
||
97 | public function startTestSuite(TestSuite $suite) |
||
103 | |||
104 | /** |
||
105 | * {@inheritdoc} |
||
106 | */ |
||
107 | public function endTestSuite(TestSuite $suite) |
||
113 | |||
114 | /** |
||
115 | * {@inheritdoc} |
||
116 | */ |
||
117 | public function startTest(Test $test) |
||
123 | |||
124 | /** |
||
125 | * {@inheritdoc} |
||
126 | */ |
||
127 | public function endTest(Test $test, $time) |
||
133 | } |
||
134 |