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 */ 17abstract class PHPUnit_Framework_BaseTestListener implements PHPUnit_Framework_TestListener 18{ 19 public function addError(PHPUnit_Framework_Test $test, Exception $e, $time) 20 { 21 } 22 23 public function addWarning(PHPUnit_Framework_Test $test, PHPUnit_Framework_Warning $e, $time) 24 { 25 } 26 27 public function addFailure(PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, $time) 28 { 29 } 30 31 public function addIncompleteTest(PHPUnit_Framework_Test $test, Exception $e, $time) 32 { 33 } 34 35 public function addRiskyTest(PHPUnit_Framework_Test $test, Exception $e, $time) 36 { 37 } 38 39 public function addSkippedTest(PHPUnit_Framework_Test $test, Exception $e, $time) 40 { 41 } 42 43 public function startTestSuite(PHPUnit_Framework_TestSuite $suite) 44 { 45 } 46 47 public function endTestSuite(PHPUnit_Framework_TestSuite $suite) 48 { 49 } 50 51 public function startTest(PHPUnit_Framework_Test $test) 52 { 53 } 54 55 public function endTest(PHPUnit_Framework_Test $test, $time) 56 { 57 } 58} 59