PHPIDS
Current file: /home/mario/workspace/php-ids.org/trunk/tests/allTests.php
Legend: executed not executed dead code

  Coverage
  Classes Methods Lines
Total
0.00 %0.00%
0.00% 0 / 1
0.00 %0.00%
0.00% 0 / 2
0.00 %0.00%
0.00% 0 / 18
 
allTests
0.00 %0.00%
0.00% 0 / 1
0.00 %0.00%
0.00% 0 / 2
0.00 %0.00%
0.00% 0 / 18
 public static function main()
0.00 %0.00%
0.00% 0 / 1
0.00 %0.00%
0.00% 0 / 2
 public static function suite()
0.00 %0.00%
0.00% 0 / 1
0.00 %0.00%
0.00% 0 / 16


       1                 : <?php                                                                    
       2                 :                                                                          
       3                 : /**                                                                      
       4                 :  * PHPIDS                                                                
       5                 :  * Requirements: PHP5, SimpleXML                                         
       6                 :  *                                                                       
       7                 :  * Copyright (c) 2007 PHPIDS group (http://php-ids.org)                  
       8                 :  *                                                                       
       9                 :  * This program is free software; you can redistribute it and/or modify  
      10                 :  * it under the terms of the GNU General Public License as published by  
      11                 :  * the Free Software Foundation; version 2 of the license.               
      12                 :  *                                                                       
      13                 :  * This program is distributed in the hope that it will be useful,       
      14                 :  * but WITHOUT ANY WARRANTY; without even the implied warranty of        
      15                 :  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         
      16                 :  * GNU General Public License for more details.                          
      17                 :  *                                                                       
      18                 :  * @package    PHPIDS tests                                              
      19                 :  * @version    SVN: $Id:allTests.php 515 2007-09-15 13:43:40Z christ1an $
      20                 :  */                                                                      
      21                 : error_reporting(E_ALL | E_STRICT | @E_DEPRECATED);                       
      22                 : require_once 'PHPUnit/Framework/TestSuite.php';                          
      23                 : require_once 'PHPUnit/TextUI/TestRunner.php';                            
      24                 :                                                                          
      25                 :                                                                          
      26                 : if (!defined('PHPUnit_MAIN_METHOD')) {                                   
      27                 :     define('PHPUnit_MAIN_METHOD', 'allTests');                           
      28                 : }                                                                        
      29                 :                                                                          
      30                 :                                                                          
      31                 : class allTests                                                           
      32                 : {                                                                        
      33                 :     public static function main()                                        
      34                 :     {                                                                    
      35               0 :         PHPUnit_TextUI_TestRunner::run(self::suite());                   
      36               0 :     }                                                                    
      37                 :                                                                          
      38                 :     public static function suite()                                       
      39                 :     {                                                                    
      40               0 :         $suite = new PHPUnit_Framework_TestSuite('PHPIDS');              
      41               0 :         require_once 'IDS/MonitorTest.php';                              
      42               0 :         $suite->addTestSuite('IDS_MonitorTest');                         
      43               0 :         require_once 'IDS/ReportTest.php';                               
      44               0 :         $suite->addTestSuite('IDS_ReportTest');                          
      45               0 :         require_once 'IDS/InitTest.php';                                 
      46               0 :         $suite->addTestSuite('IDS_InitTest');                            
      47               0 :         require_once 'IDS/ExceptionTest.php';                            
      48               0 :         $suite->addTestSuite('IDS_ExceptionTest');                       
      49               0 :         require_once 'IDS/FilterTest.php';                               
      50               0 :         $suite->addTestSuite('IDS_FilterTest');                          
      51               0 :         require_once 'IDS/CachingTest.php';                              
      52               0 :         $suite->addTestSuite('IDS_CachingTest');                         
      53               0 :         require_once 'IDS/EventTest.php';                                
      54               0 :         $suite->addTestSuite('IDS_EventTest');                           
      55               0 :         return $suite;                                                   
      56                 :     }                                                                    
      57                 : }                                                                        
      58                 :                                                                          
      59                 : if (PHPUnit_MAIN_METHOD == 'allTests') {                                 
      60                 :     allTests::main();                                                    
      61                 : }                                                                        

Generated by PHPUnit 3.3.1 and Xdebug 2.0.2 at Thu Sep 25 18:42:10 CEST 2008.