ILIAS
trunk Revision v11.0_alpha-1761-g6dbbfa7b760
◀ 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
InterruptiveItemTest.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
require_once(
"vendor/composer/vendor/autoload.php"
);
22
require_once(__DIR__ .
"../../../../Base.php"
);
23
24
use
ILIAS\UI\Component
as
C
;
25
use
ILIAS\UI\Implementation\Component
as
I
;
26
use
ILIAS\UI\Implementation\Component\Modal\InterruptiveItem\InterruptiveItem
as Item;
27
31
class
TestingItem
extends
Item
32
{
33
}
34
35
class
InterruptiveItemTest
extends
ILIAS_UI_TestBase
36
{
37
public
function
testConstruction
(): void
38
{
39
$item =
new
TestingItem
(
'1'
);
40
$this->assertInstanceOf(
41
Item::class,
42
$item
43
);
44
}
45
49
public
function
testGetId
(): void
50
{
51
$id
=
'1'
;
52
$item =
new
TestingItem
(
$id
);
53
$this->assertEquals(
$id
, $item->getId());
54
}
55
}
ILIAS\UI\Implementation\Component
ILIAS\UI\Implementation\Component\Modal\InterruptiveItem\InterruptiveItem
Definition:
InterruptiveItem.php:26
ILIAS\UI\Implementation
ILIAS\UI\Component
InterruptiveItemTest\testGetId
testGetId()
testConstruction
Definition:
InterruptiveItemTest.php:49
InterruptiveItemTest\testConstruction
testConstruction()
Definition:
InterruptiveItemTest.php:37
TestingItem
Dummy-implementation for testing.
Definition:
InterruptiveItemTest.php:31
ILIAS_UI_TestBase
InterruptiveItemTest
Definition:
InterruptiveItemTest.php:35
$id
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition:
plugin.php:23
components
ILIAS
UI
tests
Component
Modal
InterruptiveItem
InterruptiveItemTest.php
Generated on Fri Apr 11 2025 23:04:28 for ILIAS by
1.8.13 (using
Doxyfile
)