PHPUnit2
[ class tree: PHPUnit2 ] [ index: PHPUnit2 ] [ all elements ]

Source for file TestListener.php

Documentation is available at TestListener.php

  1. <?php
  2. //
  3. // +------------------------------------------------------------------------+
  4. // | PEAR :: PHPUnit2                                                       |
  5. // +------------------------------------------------------------------------+
  6. // | Copyright (c) 2002-2004 Sebastian Bergmann <sb@sebastian-bergmann.de>. |
  7. // +------------------------------------------------------------------------+
  8. // | This source file is subject to version 3.00 of the PHP License,        |
  9. // | that is available at http://www.php.net/license/3_0.txt.               |
  10. // | If you did not receive a copy of the PHP license and are unable to     |
  11. // | obtain it through the world-wide-web, please send a note to            |
  12. // | license@php.net so we can mail you a copy immediately.                 |
  13. // +------------------------------------------------------------------------+
  14. //
  15. // $Id: TestListener.php,v 1.4 2004/04/24 06:23:57 sebastian Exp $
  16. //
  17.  
  18. require_once 'PHPUnit2/Framework/AssertionFailedError.php';
  19. require_once 'PHPUnit2/Framework/Test.php';
  20.  
  21. /**
  22.  * A Listener for test progress.
  23.  *
  24.  * @author      Sebastian Bergmann <sb@sebastian-bergmann.de>
  25.  * @copyright   Copyright &copy; 2002-2004 Sebastian Bergmann <sb@sebastian-bergmann.de>
  26.  * @license     http://www.php.net/license/3_0.txt The PHP License, Version 3.0
  27.  * @category    PHP
  28.  * @package     PHPUnit2
  29.  * @subpackage  Framework
  30.  */
  31.     // {{{ public function addError(PHPUnit2_Framework_Test $test, Exception $e)
  32.  
  33.     /**
  34.     * An error occurred.
  35.     *
  36.     * @param  PHPUnit2_Framework_Test $test 
  37.     * @param  Exception               $e 
  38.     * @access public
  39.     */
  40.     public function addError(PHPUnit2_Framework_Test $testException $e);
  41.  
  42.     // }}}
  43.     // {{{ public function addFailure(PHPUnit2_Framework_Test $test, PHPUnit2_Framework_AssertionFailedError $e)
  44.  
  45.     /**
  46.     * A failure occurred.
  47.     *
  48.     * @param  PHPUnit2_Framework_Test                 $test 
  49.     * @param  PHPUnit2_Framework_AssertionFailedError $e 
  50.     * @access public
  51.     */
  52.     public function addFailure(PHPUnit2_Framework_Test $testPHPUnit2_Framework_AssertionFailedError $e);
  53.  
  54.     // }}}
  55.     // {{{ public function addIncompleteTest(PHPUnit2_Framework_Test $test, Exception $e)
  56.  
  57.     /**
  58.     * Incomplete test.
  59.     *
  60.     * @param  PHPUnit2_Framework_Test $test 
  61.     * @param  Exception               $e 
  62.     * @access public
  63.     */
  64.     public function addIncompleteTest(PHPUnit2_Framework_Test $testException $e);
  65.  
  66.     // }}}
  67.     // {{{ public function endTest(PHPUnit2_Framework_Test $test)
  68.  
  69.     /**
  70.     * A test ended.
  71.     *
  72.     * @param  PHPUnit2_Framework_Test $test 
  73.     * @access public
  74.     */
  75.     public function endTest(PHPUnit2_Framework_Test $test);
  76.  
  77.     // }}}
  78.     // {{{ public function startTest(PHPUnit2_Framework_Test $test)
  79.  
  80.     /**
  81.     * A test started.
  82.     *
  83.     * @param  PHPUnit2_Framework_Test $test 
  84.     * @access public
  85.     */
  86.     public function startTest(PHPUnit2_Framework_Test $test);
  87.  
  88.     // }}}
  89. }
  90.  
  91. /*
  92.  * vim600:  et sw=2 ts=2 fdm=marker
  93.  * vim<600: et sw=2 ts=2
  94.  */
  95. ?>

Documentation generated on Mon, 11 Mar 2019 13:55:58 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.