ILIAS
trunk Revision v11.0_alpha-1753-gb21ca8c4367
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
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
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
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
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
ilSoapFunctionsTest.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
use
PHPUnit\Framework\TestCase
;
22
use
ILIAS\DI\Container
;
23
29
class
ilSoapFunctionsTest
extends
TestCase
30
{
31
protected
Container
$dic
;
32
33
protected
function
setUp
(): void
34
{
35
$this->
initDependencies
();
36
parent::setUp();
37
}
38
39
public
function
testConstruct
(): void
40
{
41
$soap_functions =
new
ilSoapFunctions
();
42
$this->assertInstanceOf(ilSoapFunctions::class, $soap_functions);
43
}
44
45
protected
function
setGlobalVariable
(
string
$name, $value): void
46
{
47
global
$DIC
;
48
49
$GLOBALS
[$name] = $value;
50
unset($DIC[$name]);
51
$DIC[$name] =
static
function
(
\ILIAS\DI\Container
$c
) use ($value) {
52
return
$value;
53
};
54
}
55
56
protected
function
initDependencies
(): void
57
{
58
}
59
}
ilSoapFunctionsTest\setGlobalVariable
setGlobalVariable(string $name, $value)
Definition:
ilSoapFunctionsTest.php:45
ilSoapFunctions
Definition:
inc.soap_functions.php:30
ilSoapFunctionsTest\setUp
setUp()
Definition:
ilSoapFunctionsTest.php:33
$c
$c
Definition:
deliver.php:25
ILIAS\DI\Container
Customizing of pimple-DIC for ILIAS.
Definition:
Container.php:35
Container
ilSoapFunctionsTest\testConstruct
testConstruct()
Definition:
ilSoapFunctionsTest.php:39
ilSoapFunctionsTest
Unit tests for class ilRPCServerSettings.
Definition:
ilSoapFunctionsTest.php:29
$GLOBALS
$GLOBALS["DIC"]
Definition:
wac.php:53
$DIC
global $DIC
Definition:
shib_login.php:22
ilSoapFunctionsTest\initDependencies
initDependencies()
Definition:
ilSoapFunctionsTest.php:56
ilSoapFunctionsTest\$dic
Container $dic
Definition:
ilSoapFunctionsTest.php:31
TestCase
TestCase
components
ILIAS
soap
tests
ilSoapFunctionsTest.php
Generated on Thu Apr 10 2025 23:04:00 for ILIAS by
1.8.13 (using
Doxyfile
)