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

Source for file HTML.php

Documentation is available at HTML.php

  1. <?php
  2. //
  3. // +------------------------------------------------------------------------+
  4. // | PEAR :: PHPUnit                                                        |
  5. // +------------------------------------------------------------------------+
  6. // | Copyright (c) 2002-2005 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: HTML.php,v 1.3.2.1 2004/12/22 08:06:07 sebastian Exp $
  16. //
  17.  
  18. require_once 'PHPUnit2/Extensions/TestDox/ResultPrinter.php';
  19.  
  20. /**
  21.  * @author      Sebastian Bergmann <sb@sebastian-bergmann.de>
  22.  * @copyright   Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>
  23.  * @license     http://www.php.net/license/3_0.txt The PHP License, Version 3.0
  24.  * @category    Testing
  25.  * @package     PHPUnit2
  26.  * @subpackage  Extensions
  27.  * @since       2.1.0
  28.  */
  29.     // {{{ protected function startClass($name)
  30.  
  31.     /**
  32.     * Handler for 'start class' event.
  33.     *
  34.     * @param  string $name 
  35.     * @access protected
  36.     */
  37.     protected function startClass($name{
  38.         $this->write('<h2>' $name '</h2><ul>');
  39.     }
  40.  
  41.     // }}}
  42.     // {{{ protected function onTest($name)
  43.  
  44.     /**
  45.     * Handler for 'on test' event.
  46.     *
  47.     * @param  string $name 
  48.     * @access protected
  49.     */
  50.     protected function onTest($name{
  51.         $this->write('<li>' $name '</li>');
  52.     }
  53.  
  54.     // }}}
  55.     // {{{ protected function endClass($name)
  56.  
  57.     /**
  58.     * Handler for 'end class' event.
  59.     *
  60.     * @param  string $name 
  61.     * @access protected
  62.     */
  63.     protected function endClass($name{
  64.         $this->write('</ul>');
  65.     }
  66.  
  67.     // }}}
  68.     // {{{ protected function startRun()
  69.  
  70.     /**
  71.     * Handler for 'start run' event.
  72.     *
  73.     * @access protected
  74.     */
  75.     protected function startRun({
  76.     }
  77.  
  78.     // }}}
  79.     // {{{ protected function endRun()
  80.  
  81.     /**
  82.     * Handler for 'end run' event.
  83.     *
  84.     * @access protected
  85.     */
  86.     protected function endRun({
  87.     }
  88.  
  89.     // }}}
  90. }
  91.  
  92. /*
  93.  * vim600:  et sw=2 ts=2 fdm=marker
  94.  * vim<600: et sw=2 ts=2
  95.  */
  96. ?>

Documentation generated on Mon, 11 Mar 2019 14:19:18 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.