◆ suite()
static ilServicesStyleSystemSuite::suite |
( |
| ) |
|
|
static |
Definition at line 15 of file ilServicesStyleSystemSuite.php.
16 {
18
19 $base_dir = "./Services/Style/System/test/";
20
21 $dir = opendir($base_dir);
22 while(
$file = readdir($dir))
23 {
24 if (strpos(
$file,
'Test.php') !==
false)
25 {
26 include_once($base_dir.$file);
27 $test_class = str_replace(
".php",
"",
$file);
28 $suite->addTestSuite($test_class);
29 }
30 }
32 }
if(!file_exists("$old.txt")) if( $old===$new) if(file_exists("$new.txt")) $file
References $file, and $suite.
The documentation for this class was generated from the following file: