ILIAS
release_8 Revision v8.19
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
j
l
m
p
s
t
u
+
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
Ö
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
ilDatabaseUpdateStepsMetricsCollectedObjectiveTest.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
21
use
PHPUnit\Framework\TestCase
;
22
use
ILIAS\Setup\Metrics\Storage
;
23
24
class
Test_ilDatabaseUpdateSteps2
implements
ilDatabaseUpdateSteps
25
{
26
protected
?
ilDBInterface
$db
= null;
27
28
public
function
prepare
(
ilDBInterface
$db): void
29
{
30
$this->db =
$db
;
31
}
32
33
public
function
step_1
(
ilDBInterface
$db)
34
{
35
}
36
37
public
function
step_4
(
ilDBInterface
$db)
38
{
39
}
40
41
public
function
step_2
(
ilDBInterface
$db)
42
{
43
}
44
}
45
46
class
ilDatabaseUpdateStepsMetricsCollectedObjectiveTest
extends
TestCase
47
{
48
public
Test_ilDatabaseUpdateSteps2
$steps
;
49
public
Storage
$storage
;
50
51
protected
function
setUp
(): void
52
{
53
$this->steps =
new
Test_ilDatabaseUpdateSteps2
();
54
$this->storage = $this->createMock(Storage::class);
55
}
56
57
public
function
testObjectCreation
():
ilDatabaseUpdateStepsMetricsCollectedObjective
58
{
59
$obj =
new
ilDatabaseUpdateStepsMetricsCollectedObjective
($this->storage, $this->steps);
60
$this->assertInstanceOf(ilDatabaseUpdateStepsMetricsCollectedObjective::class, $obj);
61
62
return
$obj;
63
}
64
}
Storage
ilDatabaseUpdateStepsMetricsCollectedObjectiveTest\$storage
Storage $storage
Definition:
ilDatabaseUpdateStepsMetricsCollectedObjectiveTest.php:49
ILIAS\Setup\Metrics\Storage
Definition:
Storage.php:23
Test_ilDatabaseUpdateSteps2\step_2
step_2(ilDBInterface $db)
Definition:
ilDatabaseUpdateStepsMetricsCollectedObjectiveTest.php:41
ilDatabaseUpdateStepsMetricsCollectedObjectiveTest\setUp
setUp()
Definition:
ilDatabaseUpdateStepsMetricsCollectedObjectiveTest.php:51
ilDatabaseUpdateStepsMetricsCollectedObjective
ilDatabaseUpdateStepsMetricsCollectedObjectiveTest
Definition:
ilDatabaseUpdateStepsMetricsCollectedObjectiveTest.php:46
Test_ilDatabaseUpdateSteps2\prepare
prepare(ilDBInterface $db)
Definition:
ilDatabaseUpdateStepsMetricsCollectedObjectiveTest.php:28
Test_ilDatabaseUpdateSteps2\step_1
step_1(ilDBInterface $db)
Definition:
ilDatabaseUpdateStepsMetricsCollectedObjectiveTest.php:33
Test_ilDatabaseUpdateSteps2\$db
ilDBInterface $db
Definition:
ilDatabaseUpdateStepsMetricsCollectedObjectiveTest.php:26
ilDBInterface
ilDatabaseUpdateStepsMetricsCollectedObjectiveTest\$steps
Test_ilDatabaseUpdateSteps2 $steps
Definition:
ilDatabaseUpdateStepsMetricsCollectedObjectiveTest.php:48
Test_ilDatabaseUpdateSteps2\step_4
step_4(ilDBInterface $db)
Definition:
ilDatabaseUpdateStepsMetricsCollectedObjectiveTest.php:37
ilDatabaseUpdateSteps
ilDatabaseUpdateStepsMetricsCollectedObjectiveTest\testObjectCreation
testObjectCreation()
Definition:
ilDatabaseUpdateStepsMetricsCollectedObjectiveTest.php:57
Test_ilDatabaseUpdateSteps2
Definition:
ilDatabaseUpdateStepsMetricsCollectedObjectiveTest.php:24
TestCase
Services
Database
test
Setup
ilDatabaseUpdateStepsMetricsCollectedObjectiveTest.php
Generated on Thu Apr 3 2025 22:02:20 for ILIAS by
1.8.13 (using
Doxyfile
)