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

Source for file ParserInterface.php

Documentation is available at ParserInterface.php

  1. <?php
  2.  
  3. /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
  4.  
  5. /**
  6.  * This file is part of the PEAR Testing_DocTest package.
  7.  *
  8.  * PHP version 5
  9.  *
  10.  * LICENSE: This source file is subject to the MIT license that is available
  11.  * through the world-wide-web at the following URI:
  12.  * http://opensource.org/licenses/mit-license.php
  13.  *
  14.  * @category  Testing
  15.  * @package   Testing_DocTest
  16.  * @author    David JEAN LOUIS <izimobil@gmail.com>
  17.  * @copyright 2008 David JEAN LOUIS
  18.  * @license   http://opensource.org/licenses/mit-license.php MIT License
  19.  * @version   CVS: $Id$
  20.  * @link      http://pear.php.net/package/Testing_DocTest
  21.  * @since     File available since release 0.1.0
  22.  * @filesource
  23.  */
  24.  
  25. /**
  26.  * DocTest Parser interface.
  27.  * All parsers must implement this interface.
  28.  *
  29.  * @category  Testing
  30.  * @package   Testing_DocTest
  31.  * @author    David JEAN LOUIS <izimobil@gmail.com>
  32.  * @copyright 2008 David JEAN LOUIS
  33.  * @license   http://opensource.org/licenses/mit-license.php MIT License
  34.  * @version   Release: 0.6.0
  35.  * @link      http://pear.php.net/package/Testing_DocTest
  36.  * @since     Class available since release 0.1.0
  37.  */
  38. {
  39.     // parse() {{{
  40.  
  41.     /**
  42.      * Parse the files passed and return an array as follows:
  43.      *
  44.      * <code>
  45.      * array(
  46.      *     'file1' => array($testCase1, $testCase2),
  47.      *     'file2' => array($testCase1, $testCase2),
  48.      * )
  49.      * </code>
  50.      *
  51.      * @param array $files an array of file pathes
  52.      *
  53.      * @access public
  54.      * @return array 
  55.      * @throws Testing_DocTest_Exception
  56.      */
  57.     public function parse(array $files);
  58.  
  59.     // }}}
  60. }

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