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

Source for file Test.php

Documentation is available at Test.php

  1. <?php
  2. //
  3. // +------------------------------------------------------------------------+
  4. // | PEAR :: PHPUnit2                                                       |
  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: Test.php,v 1.6.2.2 2005/02/04 10:01:56 sebastian Exp $
  16. //
  17.  
  18. require_once 'PHPUnit2/Framework/TestResult.php';
  19.  
  20. /**
  21.  * A Test can be run and collect its results.
  22.  *
  23.  * @author      Sebastian Bergmann <sb@sebastian-bergmann.de>
  24.  * @copyright   Copyright &copy; 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de>
  25.  * @license     http://www.php.net/license/3_0.txt The PHP License, Version 3.0
  26.  * @category    Testing
  27.  * @package     PHPUnit2
  28.  * @subpackage  Framework
  29.  */
  30.     // {{{ public function countTestCases()
  31.  
  32.     /**
  33.     * Counts the number of test cases that will be run by this test.
  34.     *
  35.     * @return integer 
  36.     * @access public
  37.     */
  38.     public function countTestCases();
  39.  
  40.     // }}}
  41.     // {{{ public function run($result = NULL)
  42.  
  43.     /**
  44.     * Runs a test and collects its result in a TestResult instance.
  45.     *
  46.     * @param  PHPUnit2_Framework_TestResult $result 
  47.     * @return PHPUnit2_Framework_TestResult 
  48.     * @access public
  49.     */
  50.     public function run($result = NULL);
  51.  
  52.     // }}}
  53. }
  54.  
  55. /*
  56.  * vim600:  et sw=2 ts=2 fdm=marker
  57.  * vim<600: et sw=2 ts=2
  58.  */
  59. ?>

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