PEAR_PackageUpdate Test Suite
Current file: PEAR\PackageUpdate\Adapter.php
Legend: executed not executed dead code

  Coverage
  Classes Functions / Methods Lines
Total
100.00%100.00%
100.00% 1 / 1
0.00%0.00%
0.00% 0 / 2
33.33%33.33%
33.33% 1 / 3
 
PEAR_PackageUpdate_Adapter
100.00%100.00%
100.00% 1 / 1
0.00%0.00%
0.00% 0 / 2
33.33%33.33%
33.33% 1 / 3
 public function supports()
0.00%0.00%
0.00% 0 / 1
0.00%0.00%
0.00% 0 / 1
 public function sendRequest($request)
0.00%0.00%
0.00% 0 / 1
0.00%0.00%
0.00% 0 / 1


       1                 : <?php
       2                 : /**
       3                 :  * Base class for PEAR_PackageUpdate adapters
       4                 :  *
       5                 :  * PHP versions 4 and 5
       6                 :  *
       7                 :  * LICENSE: This source file is subject to version 3.01 of the PHP license
       8                 :  * that is available through the world-wide-web at the following URI:
       9                 :  * http://www.php.net/license/3_01.txt.  If you did not receive a copy of
      10                 :  * the PHP License and are unable to obtain it through the web, please
      11                 :  * send a note to license@php.net so we can mail you a copy immediately.
      12                 :  *
      13                 :  * CREDITS: To Alexey Borzov <avb@php.net>
      14                 :  *          for his idea on adapters of HTTP_Request2
      15                 :  *
      16                 :  * @category PEAR
      17                 :  * @package  PEAR_PackageUpdate
      18                 :  * @author   Laurent Laville <pear@laurent-laville.org>
      19                 :  * @license  http://www.php.net/license/3_01.txt  PHP License 3.01
      20                 :  * @version  CVS: $Id: Adapter.php,v 1.1 2009/02/28 11:29:17 farell Exp $
      21                 :  * @link     http://pear.php.net/package/PEAR_PackageUpdate
      22                 :  * @since    File available since Release 1.1.0a1
      23                 :  */
      24                 :
      25                 :
      26                 : /**
      27                 :  * Base class for PEAR_PackageUpdate adapters
      28                 :  *
      29                 :  * PEAR_PackageUpdate class itself only defines methods for aggregating the request
      30                 :  * data, all actual work of sending the request to the remote server and
      31                 :  * receiving its response is performed by adapters.
      32                 :  *
      33                 :  * @category PEAR
      34                 :  * @package  PEAR_PackageUpdate
      35                 :  * @author   Laurent Laville <pear@laurent-laville.org>
      36                 :  * @license  http://www.php.net/license/3_01.txt  PHP License 3.01
      37                 :  * @version  Release: 1.1.0a1
      38                 :  * @link     http://pear.php.net/package/PEAR_PackageUpdate
      39                 :  * @since    Class available since Release 1.1.0a1
      40                 :  * @abstract
      41                 :  */
      42                 :
      43                 : class PEAR_PackageUpdate_Adapter
      44               1 : {                                                                                  
      45                 :     /**
      46                 :      * Check if the protocol asked is supported
      47                 :      *
      48                 :      * Check if the protocol asked is supported by default or package channel
      49                 :      *
      50                 :      * @abstract
      51                 :      * @access public
      52                 :      * @return bool
      53                 :      * @since  version 1.1.0a1 (2009-02-28)
      54                 :      */
      55                 :     function supports()
      56                 :     {
      57               0 :     }                                                                              
      58                 :
      59                 :     /**
      60                 :      * Sends request to the remote server
      61                 :      *
      62                 :      * Sends request to the remote server and returns its response
      63                 :      *
      64                 :      * @param string $request Remote request id to proceed
      65                 :      *
      66                 :      * @abstract
      67                 :      * @access public
      68                 :      * @return mixed
      69                 :      * @since  version 1.1.0a1 (2009-02-28)
      70                 :      */
      71                 :     function sendRequest($request)
      72                 :     {
      73               0 :     }                                                                              
      74                 : }

Generated by PHPUnit 3.3.15 and Xdebug 2.0.4 at Sat Feb 28 15:03:05 CET 2009.