c6e5d7734bccc65b00dea416418b01db8d8b2be2
[yaffs-website] / vendor / phpunit / phpunit / src / Framework / BaseTestListener.php
1 <?php
2 /*
3  * This file is part of PHPUnit.
4  *
5  * (c) Sebastian Bergmann <sebastian@phpunit.de>
6  *
7  * For the full copyright and license information, please view the LICENSE
8  * file that was distributed with this source code.
9  */
10
11 /**
12  * An empty Listener that can be extended to implement TestListener
13  * with just a few lines of code.
14  *
15  * @see PHPUnit_Framework_TestListener for documentation on the API methods.
16  * @since Class available since Release 4.0.0
17  */
18 abstract class PHPUnit_Framework_BaseTestListener implements PHPUnit_Framework_TestListener
19 {
20     public function addError(PHPUnit_Framework_Test $test, Exception $e, $time)
21     {
22     }
23
24     public function addFailure(PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, $time)
25     {
26     }
27
28     public function addIncompleteTest(PHPUnit_Framework_Test $test, Exception $e, $time)
29     {
30     }
31
32     public function addRiskyTest(PHPUnit_Framework_Test $test, Exception $e, $time)
33     {
34     }
35
36     public function addSkippedTest(PHPUnit_Framework_Test $test, Exception $e, $time)
37     {
38     }
39
40     public function startTestSuite(PHPUnit_Framework_TestSuite $suite)
41     {
42     }
43
44     public function endTestSuite(PHPUnit_Framework_TestSuite $suite)
45     {
46     }
47
48     public function startTest(PHPUnit_Framework_Test $test)
49     {
50     }
51
52     public function endTest(PHPUnit_Framework_Test $test, $time)
53     {
54     }
55 }