ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
ilQTIResprocessingTest.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
ilQTIResprocessingTest
extends
TestCase
24
{
25
public
function
testConstruct
(): void
26
{
27
$this->assertInstanceOf(ilQTIResprocessing::class,
new
ilQTIResprocessing
());
28
}
29
30
public
function
testSetGetComment
(): void
31
{
32
$instance =
new
ilQTIResprocessing
();
33
$instance->setComment(
'Some input.'
);
34
$this->assertEquals(
'Some input.'
, $instance->getComment());
35
}
36
37
public
function
testSetGetScoremodel
(): void
38
{
39
$instance =
new
ilQTIResprocessing
();
40
$instance->setScoremodel(
'Some input.'
);
41
$this->assertEquals(
'Some input.'
, $instance->getScoremodel());
42
}
43
}
ilQTIResprocessingTest
Definition:
ilQTIResprocessingTest.php:24
ilQTIResprocessingTest\testSetGetScoremodel
testSetGetScoremodel()
Definition:
ilQTIResprocessingTest.php:37
ilQTIResprocessingTest\testConstruct
testConstruct()
Definition:
ilQTIResprocessingTest.php:25
ilQTIResprocessingTest\testSetGetComment
testSetGetComment()
Definition:
ilQTIResprocessingTest.php:30
ilQTIResprocessing
Definition:
class.ilQTIResprocessing.php:30
components
ILIAS
TestQuestionPool
tests
QTI
ilQTIResprocessingTest.php
Generated on Sun Oct 19 2025 23:04:28 for ILIAS by
1.9.4 (using
Doxyfile
)