3
* This file is part of PHPUnit.
5
* (c) Sebastian Bergmann <sebastian@phpunit.de>
7
* For the full copyright and license information, please view the LICENSE
8
* file that was distributed with this source code.
12
* A Listener for test progress.
15
* @subpackage Framework
16
* @author Sebastian Bergmann <sebastian@phpunit.de>
17
* @copyright Sebastian Bergmann <sebastian@phpunit.de>
18
* @license http://www.opensource.org/licenses/BSD-3-Clause The BSD 3-Clause License
19
* @link http://www.phpunit.de/
20
* @since Interface available since Release 2.0.0
22
interface PHPUnit_Framework_TestListener
27
* @param PHPUnit_Framework_Test $test
31
public function addError(PHPUnit_Framework_Test $test, Exception $e, $time);
36
* @param PHPUnit_Framework_Test $test
37
* @param PHPUnit_Framework_AssertionFailedError $e
40
public function addFailure(PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, $time);
45
* @param PHPUnit_Framework_Test $test
49
public function addIncompleteTest(PHPUnit_Framework_Test $test, Exception $e, $time);
54
* @param PHPUnit_Framework_Test $test
57
* @since Method available since Release 4.0.0
59
public function addRiskyTest(PHPUnit_Framework_Test $test, Exception $e, $time);
64
* @param PHPUnit_Framework_Test $test
67
* @since Method available since Release 3.0.0
69
public function addSkippedTest(PHPUnit_Framework_Test $test, Exception $e, $time);
72
* A test suite started.
74
* @param PHPUnit_Framework_TestSuite $suite
75
* @since Method available since Release 2.2.0
77
public function startTestSuite(PHPUnit_Framework_TestSuite $suite);
82
* @param PHPUnit_Framework_TestSuite $suite
83
* @since Method available since Release 2.2.0
85
public function endTestSuite(PHPUnit_Framework_TestSuite $suite);
90
* @param PHPUnit_Framework_Test $test
92
public function startTest(PHPUnit_Framework_Test $test);
97
* @param PHPUnit_Framework_Test $test
100
public function endTest(PHPUnit_Framework_Test $test, $time);