ILIAS
release_8 Revision v8.23
◀ ilDoc Overview
ilServicesStyleSystemSuite.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
use
PHPUnit\Framework\TestSuite
;
22
23
class
ilServicesStyleSystemSuite
extends
TestSuite
24
{
25
public
static
function
suite
():
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
}
41
}
ilServicesStyleSystemSuite
Definition:
ilServicesStyleSystemSuite.php:23
TestSuite
ilServicesStyleSystemSuite\suite
static suite()
Definition:
ilServicesStyleSystemSuite.php:25
RecursiveDirectoryIterator
RecursiveIteratorIterator
Services
Style
System
test
ilServicesStyleSystemSuite.php
Generated on Sun Aug 31 2025 22:02:35 for ILIAS by
1.8.13 (using
Doxyfile
)