You are here

BaseTestListener.php in Zircon Profile 8

Same filename and directory in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/BaseTestListener.php

File

vendor/phpunit/phpunit/src/Framework/BaseTestListener.php
View source
<?php

/*
 * This file is part of PHPUnit.
 *
 * (c) Sebastian Bergmann <sebastian@phpunit.de>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

/**
 * An empty Listener that can be extended to implement TestListener
 * with just a few lines of code.
 * @see PHPUnit_Framework_TestListener for documentation on the API methods.
 *
 * @since Class available since Release 4.0.0
 */
abstract class PHPUnit_Framework_BaseTestListener implements PHPUnit_Framework_TestListener {
  public function addError(PHPUnit_Framework_Test $test, Exception $e, $time) {
  }
  public function addFailure(PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, $time) {
  }
  public function addIncompleteTest(PHPUnit_Framework_Test $test, Exception $e, $time) {
  }
  public function addRiskyTest(PHPUnit_Framework_Test $test, Exception $e, $time) {
  }
  public function addSkippedTest(PHPUnit_Framework_Test $test, Exception $e, $time) {
  }
  public function startTestSuite(PHPUnit_Framework_TestSuite $suite) {
  }
  public function endTestSuite(PHPUnit_Framework_TestSuite $suite) {
  }
  public function startTest(PHPUnit_Framework_Test $test) {
  }
  public function endTest(PHPUnit_Framework_Test $test, $time) {
  }

}

Classes

Namesort descending Description
PHPUnit_Framework_BaseTestListener An empty Listener that can be extended to implement TestListener with just a few lines of code.