FirstFooDriver.php
Current file: C:\DATA\Viktor\Diplomka\XSLT-Benchmarking/Tools/Tests/Unit/DriverContainer/Foo/FirstFooDriver.php
Legend: executed not executed dead code

  Coverage
  Classes Functions / Methods Lines
Total
0.00% 0 / 1
0.00% 0 / 3 CRAP
0.00% 0 / 6
FirstFooDriver
0.00% 0 / 1
0.00% 0 / 3 12
0.00% 0 / 5
 __construct($param1, $param2)
0.00% 0 / 1 2
0.00% 0 / 3
 methodOne()
0.00% 0 / 1 2
0.00% 0 / 1
 methodTwo($arg1, $arg2)
0.00% 0 / 1 2
0.00% 0 / 1



       1                 : <?php                                                                           
       2                 :                                                                                 
       3                 : /**                                                                             
       4                 :  * XSLT Benchmarking                                                            
       5                 :  * @link https://github.com/masicek/XSLT-Benchmarking                           
       6                 :  * @author Viktor Mašíček <viktor@masicek.net>                               
       7                 :  * @license "New" BSD License                                                   
       8                 :  */                                                                             
       9                 :                                                                                 
      10                 : namespace Tests\XSLTBenchmarking\DriversContainer;                              
      11                 :                                                                                 
      12               0 : require_once __DIR__ . '/IFooDriver.php';                                       
      13                 :                                                                                 
      14                 : /**                                                                             
      15                 :  * FirstFooDriver                                                               
      16                 :  *                                                                              
      17                 :  * @author Viktor Mašíček <viktor@masicek.net>                               
      18                 :  */                                                                             
      19                 : class FirstFooDriver implements IFooDriver                                      
      20                 : {                                                                               
      21                 :                                                                                 
      22                 :     private $param1;                                                            
      23                 :                                                                                 
      24                 :     private $param2;                                                            
      25                 :                                                                                 
      26                 :                                                                                 
      27                 :     public function __construct($param1, $param2)                               
      28                 :     {                                                                           
      29               0 :         $this->param1 = $param1;                                                
      30               0 :         $this->param2 = $param2;                                                
      31               0 :     }                                                                           
      32                 :                                                                                 
      33                 :                                                                                 
      34                 :     public function methodOne()                                                 
      35                 :     {                                                                           
      36               0 :         return 'First::method1 (' . $this->param1 . ')';                        
      37                 :     }                                                                           
      38                 :                                                                                 
      39                 :                                                                                 
      40                 :     public function methodTwo($arg1, $arg2)                                     
      41                 :     {                                                                           
      42               0 :         return 'First::method2: (' . $this->param2 . ') ' . $arg1 . ' ' . $arg2;
      43                 :     }                                                                           
      44                 :                                                                                 
      45                 :                                                                                 
      46                 : }                                                                               


Generated by PHP_CodeCoverage @package_version@ using PHP 5.3.6 and PHPUnit @package_version@ at Tue Jun 26 15:06:55 CEST 2012.