All Unit tests
Current file: C:\code\midiparser\src\Midi\Parsing\ParseState.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% 1 / 1
 
Midi\ParseState
100.00%100.00%
100.00% 1 / 1
  
   
100.00%100.00%
100.00% 1 / 1


       1                 : <?php                                                                 
       2                 :                                                                       
       3                 :     /**                                                               
       4                 :      * \Midi\Parsing\ParseState                                       
       5                 :      *                                                                
       6                 :      * @package    Midi                                               
       7                 :      * @subpackage Parsing                                            
       8                 :      * @copyright  © 2009 Tommy Montgomery <http://phpmidiparser.com/>
       9                 :      * @since      1.0                                                
      10                 :      */                                                               
      11                 :                                                                       
      12                 :     namespace Midi\Parsing;                                           
      13                 :                                                                       
      14                 :     /**                                                               
      15                 :      * Represents the current state during parsing                    
      16                 :      *                                                                
      17                 :      * @package    Midi                                               
      18                 :      * @subpackage Parsing                                            
      19                 :      * @since      1.0                                                
      20                 :      */                                                               
      21               1 :     final class ParseState {                                          
      22                 :         /**                                                           
      23                 :          * The next chunk is expected to be a file header             
      24                 :          *                                                            
      25                 :          * @var int                                                   
      26                 :          */                                                           
      27                 :         const FILE_HEADER  = 0;                                       
      28                 :         /**                                                           
      29                 :          * The next chunk is expected to be a track header            
      30                 :          *                                                            
      31                 :          * @var int                                                   
      32                 :          */                                                           
      33                 :         const TRACK_HEADER = 1;                                       
      34                 :         /**                                                           
      35                 :          * The next chunk is expected to be a delta time              
      36                 :          *                                                            
      37                 :          * @var int                                                   
      38                 :          */                                                           
      39                 :         const DELTA        = 2;                                       
      40                 :         /**                                                           
      41                 :          * The next chunk is expected to be a MIDI event              
      42                 :          *                                                            
      43                 :          * @var int                                                   
      44                 :          */                                                           
      45                 :         const EVENT        = 3;                                       
      46                 :         /**                                                           
      47                 :          * Parsing done, the end of the file is expected              
      48                 :          *                                                            
      49                 :          * @var int                                                   
      50                 :          */                                                           
      51                 :         const EOF          = 4;                                       
      52                 :     }                                                                 
      53                 :                                                                       

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.