ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Files
File List
+
Globals
+
All
$
(
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
w
x
+
Variables
$
(
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
ilGlobalSuite.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3
14
class
ilGlobalSuite
extends
PHPUnit_Framework_TestSuite
15
{
16
public
static
function
suite
()
17
{
18
$suite
=
new
ilGlobalSuite
();
19
20
echo
"\n"
;
21
22
// scan Modules and Services directories
23
$basedirs = array(
"Services"
,
"Modules"
);
24
25
foreach
($basedirs as $basedir)
26
{
27
// read current directory
28
$dir = opendir($basedir);
29
30
while
(
$file
= readdir($dir))
31
{
32
if
(
$file
!=
"."
&&
$file
!=
".."
&& is_dir($basedir.
"/"
.
$file
))
33
{
34
$suite_path =
35
$basedir.
"/"
.
$file
.
"/test/il"
.$basedir.$file.
"Suite.php"
;
36
if
(is_file($suite_path))
37
{
38
include_once($suite_path);
39
40
$name =
"il"
.$basedir.$file.
"Suite"
;
41
$s =
new
$name();
42
echo
"Adding Suite: "
.$name.
"\n"
;
43
$suite
->addTest($s->suite());
44
//$suite->addTestSuite("ilSettingTest");
45
}
46
}
47
}
48
}
49
echo
"\n"
;
50
51
return
$suite
;
52
}
53
}
54
?>
$file
print $file
Definition:
HFile_ueconv.php:128
$suite
$suite
Definition:
CleanUpTest.php:406
PHPUnit_Framework_TestSuite
ilGlobalSuite
This is the global ILIAS test suite.
Definition:
ilGlobalSuite.php:14
ilGlobalSuite\suite
static suite()
Definition:
ilGlobalSuite.php:16
Services
PHPUnit
test
ilGlobalSuite.php
Generated on Mon Apr 7 2025 19:00:56 for ILIAS by
1.8.13 (using
Doxyfile
)