◆ suite()
  
  
      
        
          | static ilServicesStyleSystemSuite::suite  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Definition at line 25 of file ilServicesStyleSystemSuite.php.
   25                                  : TestSuite
   26    {
   28 
   29        $base_dir = './Services/Style/System/test/';
   30        $rec_it = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($base_dir));
   31 
   32        foreach ($rec_it as $file) {
   33            if (strpos($file->getFilename(), 'Test.php') !== false) {
   34                include_once($file->getPathname());
   35                $test_class = str_replace('.php', '', $file->getFilename());
   36                $suite->addTestSuite($test_class);
   37            }
   38        }
   39        return $suite;
   40    }
 
 
 
The documentation for this class was generated from the following file: