DicFro Tests
Current file: D:\data\micmap\cgi-bin\dicfro\4.4.1\application\Model\Search\Couronnement.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
100.00%100.00%
100.00% 6 / 6
 
Model_Search_Couronnement
100.00%100.00%
100.00% 1 / 1
100.00%100.00%
100.00% 1 / 1
100.00%100.00%
100.00% 4 / 4
 public function __construct($directory)
100.00%100.00%
100.00% 1 / 1
100.00%100.00%
100.00% 3 / 3


       1                 : <?php                                                                                                  
       2                 :                                                                                                        
       3                 : /**                                                                                                    
       4                 :  * Dictionaries of Old French and Latin                                                                
       5                 :  *                                                                                                     
       6                 :  * PHP 5                                                                                               
       7                 :  *                                                                                                     
       8                 :  * @category  Application                                                                              
       9                 :  * @package   DicFro                                                                                   
      10                 :  * @author    Michel Corne <mcorne@yahoo.com>                                                          
      11                 :  * @copyright 2008-2010 Michel Corne                                                                   
      12                 :  * @license   http://opensource.org/licenses/gpl-3.0.html GNU General Public License, version 3 (GPLv3)
      13                 :  * @link      http://www.micmap.org/dicfro                                                             
      14                 :  */                                                                                                    
      15                 :                                                                                                        
      16               1 : require_once 'Model/Query/Couronnement.php';                                                           
      17               1 : require_once 'Model/Search/GdfLike.php';                                                               
      18                 :                                                                                                        
      19                 :                                                                                                        
      20                 : /**                                                                                                    
      21                 :  * Search the Couronnement de Louis dictionary                                                         
      22                 :  *                                                                                                     
      23                 :  * @category  Application                                                                              
      24                 :  * @package   DicFro                                                                                   
      25                 :  * @author    Michel Corne <mcorne@yahoo.com>                                                          
      26                 :  * @copyright 2008-2010 Michel Corne                                                                   
      27                 :  * @license   http://opensource.org/licenses/gpl-3.0.html GNU General Public License, version 3 (GPLv3)
      28                 :  */                                                                                                    
      29                 :                                                                                                        
      30               1 : class Model_Search_Couronnement extends Model_Search_GdfLike                                           
      31                 : {                                                                                                      
      32                 :                                                                                                        
      33                 :     /**                                                                                                
      34                 :      * Name of the Couronnement de Louis dictionary                                                    
      35                 :      * @var string                                                                                     
      36                 :      */                                                                                                
      37                 :     public $dictionary = 'couronnement';                                                               
      38                 :                                                                                                        
      39                 :     /**                                                                                                
      40                 :      * Construtor                                                                                      
      41                 :      *                                                                                                 
      42                 :      * @param  string $directory  the dictionaries directory                                           
      43                 :      * @return void                                                                                    
      44                 :      */                                                                                                
      45                 :     public function __construct($directory)                                                            
      46                 :     {                                                                                                  
      47               1 :         $this->directory = $directory;                                                                 
      48               1 :         $this->query = new Model_Query_Couronnement($directory);                                       
      49               1 :     }                                                                                                  
      50                 : }                                                                                                      

Generated by PHPUnit 3.4.15 and Xdebug 2.1.0 using PHP 5.2.11 at Fri Oct 1 18:50:14 UTC 2010.