ILIAS  release_8 Revision v8.24
ilServicesStyleSystemSuite Class Reference
+ Inheritance diagram for ilServicesStyleSystemSuite:
+ Collaboration diagram for ilServicesStyleSystemSuite:

Static Public Member Functions

static suite ()
 

Detailed Description

Definition at line 23 of file ilServicesStyleSystemSuite.php.

Member Function Documentation

◆ suite()

static ilServicesStyleSystemSuite::suite ( )
static

Definition at line 25 of file ilServicesStyleSystemSuite.php.

25 : TestSuite
26 {
27 $suite = new ilServicesStyleSystemSuite();
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: