ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
ilQTIOutcomesTest.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
ilQTIOutcomesTest
extends
TestCase
24
{
25
public
function
testConstruct
(): void
26
{
27
$this->assertInstanceOf(ilQTIOutcomes::class,
new
ilQTIOutcomes
());
28
}
29
30
public
function
testSetGetComment
(): void
31
{
32
$instance =
new
ilQTIOutcomes
();
33
$instance->setComment(
'Some input.'
);
34
$this->assertEquals(
'Some input.'
, $instance->getComment());
35
}
36
}
ilQTIOutcomes
Definition:
class.ilQTIOutcomes.php:29
ilQTIOutcomesTest
Definition:
ilQTIOutcomesTest.php:23
ilQTIOutcomesTest\testConstruct
testConstruct()
Definition:
ilQTIOutcomesTest.php:25
ilQTIOutcomesTest\testSetGetComment
testSetGetComment()
Definition:
ilQTIOutcomesTest.php:30
TestCase
TestCase
components
ILIAS
TestQuestionPool
tests
QTI
ilQTIOutcomesTest.php
Generated on Sun Aug 31 2025 23:04:05 for ILIAS by
1.8.13 (using
Doxyfile
)