1 | <?php |
||
18 | class TestCacheSmashingPHPUnitListener implements TestListener |
||
19 | { |
||
20 | const SUITE_NAME = 'Functional'; |
||
21 | |||
22 | public function addError(Test $test, Exception $e, $time) |
||
26 | |||
27 | public function addFailure(Test $test, AssertionFailedError $e, $time) |
||
31 | |||
32 | public function addIncompleteTest(Test $test, Exception $e, $time) |
||
36 | |||
37 | public function addRiskyTest(Test $test, Exception $e, $time) |
||
41 | |||
42 | public function addSkippedTest(Test $test, Exception $e, $time) |
||
46 | |||
47 | public function addWarning(Test $test, Warning $e, $time) |
||
51 | |||
52 | public function startTest(Test $test) |
||
56 | |||
57 | public function endTest(Test $test, $time) |
||
61 | |||
62 | public function startTestSuite(TestSuite $suite) |
||
66 | |||
67 | public function endTestSuite(TestSuite $suite) |
||
71 | |||
72 | private function smashIfFunctionalSuite(TestSuite $suite) |
||
93 | } |
||
94 |