ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
ilQTIPresentationTest.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
use
PHPUnit\Framework\TestCase
;
22
23
class
ilQTIPresentationTest
extends
TestCase
24
{
25
public
function
testConstruct
(): void
26
{
27
$this->assertInstanceOf(ilQTIPresentation::class,
new
ilQTIPresentation
());
28
}
29
30
public
function
testSetGetLabel
(): void
31
{
32
$instance =
new
ilQTIPresentation
();
33
$instance->setLabel(
'Some input.'
);
34
$this->assertEquals(
'Some input.'
, $instance->getLabel());
35
}
36
37
public
function
testSetGetXmllang
(): void
38
{
39
$instance =
new
ilQTIPresentation
();
40
$instance->setXmllang(
'Some input.'
);
41
$this->assertEquals(
'Some input.'
, $instance->getXmllang());
42
}
43
44
public
function
testSetGetX0
(): void
45
{
46
$instance =
new
ilQTIPresentation
();
47
$instance->setX0(
'Some input.'
);
48
$this->assertEquals(
'Some input.'
, $instance->getX0());
49
}
50
51
public
function
testSetGetY0
(): void
52
{
53
$instance =
new
ilQTIPresentation
();
54
$instance->setY0(
'Some input.'
);
55
$this->assertEquals(
'Some input.'
, $instance->getY0());
56
}
57
58
public
function
testSetGetWidth
(): void
59
{
60
$instance =
new
ilQTIPresentation
();
61
$instance->setWidth(
'Some input.'
);
62
$this->assertEquals(
'Some input.'
, $instance->getWidth());
63
}
64
65
public
function
testSetGetHeight
(): void
66
{
67
$instance =
new
ilQTIPresentation
();
68
$instance->setHeight(
'Some input.'
);
69
$this->assertEquals(
'Some input.'
, $instance->getHeight());
70
}
71
}
ilQTIPresentationTest\testSetGetWidth
testSetGetWidth()
Definition:
ilQTIPresentationTest.php:58
ilQTIPresentationTest\testSetGetX0
testSetGetX0()
Definition:
ilQTIPresentationTest.php:44
ilQTIPresentationTest
Definition:
ilQTIPresentationTest.php:23
ilQTIPresentationTest\testConstruct
testConstruct()
Definition:
ilQTIPresentationTest.php:25
ilQTIPresentationTest\testSetGetY0
testSetGetY0()
Definition:
ilQTIPresentationTest.php:51
ilQTIPresentationTest\testSetGetHeight
testSetGetHeight()
Definition:
ilQTIPresentationTest.php:65
ilQTIPresentationTest\testSetGetLabel
testSetGetLabel()
Definition:
ilQTIPresentationTest.php:30
ilQTIPresentation
Definition:
class.ilQTIPresentation.php:29
TestCase
ilQTIPresentationTest\testSetGetXmllang
testSetGetXmllang()
Definition:
ilQTIPresentationTest.php:37
TestCase
components
ILIAS
TestQuestionPool
tests
QTI
ilQTIPresentationTest.php
Generated on Sun Aug 31 2025 23:04:05 for ILIAS by
1.8.13 (using
Doxyfile
)