All Unit tests
Current file: C:\code\midiparser\src\Midi\Event\UnknownMetaEvent.php
Legend: executed not executed dead code

  Coverage
  Classes Functions / Methods Lines
Total
100.00%100.00%
100.00% 1 / 1
100.00%100.00%
100.00% 2 / 2
100.00%100.00%
100.00% 3 / 3
 
Midi\UnknownMetaEvent
100.00%100.00%
100.00% 1 / 1
100.00%100.00%
100.00% 2 / 2
100.00%100.00%
100.00% 3 / 3
 public function getParamDescription()
100.00%100.00%
100.00% 1 / 1
100.00%100.00%
100.00% 1 / 1
 public function getSubtype()
100.00%100.00%
100.00% 1 / 1
100.00%100.00%
100.00% 1 / 1


       1                 : <?php                                                                 
       2                 :                                                                       
       3                 :     /**                                                               
       4                 :      * \Midi\Event\UnknownMetaEvent                                   
       5                 :      *                                                                
       6                 :      * @package    Midi                                               
       7                 :      * @subpackage Event                                              
       8                 :      * @copyright  © 2009 Tommy Montgomery <http://phpmidiparser.com/>
       9                 :      * @since      1.0                                                
      10                 :      */                                                               
      11                 :                                                                       
      12                 :     namespace Midi\Event;                                             
      13                 :                                                                       
      14                 :     /**                                                               
      15                 :      * Represents a meta event that is unsupported by the MIDI        
      16                 :      * specification                                                  
      17                 :      *                                                                
      18                 :      * @package    Midi                                               
      19                 :      * @subpackage Event                                              
      20                 :      * @since      1.0                                                
      21                 :      */                                                               
      22               1 :     class UnknownMetaEvent extends MetaEvent {                        
      23                 :                                                                       
      24                 :         /**                                                           
      25                 :          * @since 1.0                                                 
      26                 :          *                                                            
      27                 :          * @return string                                             
      28                 :          */                                                           
      29                 :         public function getParamDescription() {                       
      30               1 :             return $this->data;                                       
      31                 :         }                                                             
      32                 :                                                                       
      33                 :         /**                                                           
      34                 :          * @since 1.0                                                 
      35                 :          * @uses  MetaEventType::UNKNOWN                              
      36                 :          *                                                            
      37                 :          * @return int                                                
      38                 :          */                                                           
      39                 :         public function getSubtype() {                                
      40               1 :             return MetaEventType::UNKNOWN;                            
      41                 :         }                                                             
      42                 :                                                                       
      43                 :     }                                                                 
      44                 :                                                                       

Generated by PHPUnit 3.4.1 and Xdebug 2.0.5 using PHP 5.3.0 at Sun Oct 25 23:35:09 PDT 2009.