ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
◀ ilDoc Overview
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
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ILIAS\UI\Implementation\Component\Modal\InterruptiveItem\InterruptiveItem
Definition:
InterruptiveItem.php:26
ILIAS\UI\Implementation
ILIAS\UI\Component
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
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:24
components
ILIAS
UI
tests
Component
Modal
InterruptiveItem
InterruptiveItemTest.php
Generated on Wed Sep 10 2025 15:16:49 for ILIAS by
1.8.13 (using
Doxyfile
)