ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
◀ ilDoc Overview
ilRandomTestROInputGUITest.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
25
class
ilRandomTestROInputGUITest
extends
ilTestBaseTestCase
26
{
27
private
ilRandomTestROInputGUI
$testObj
;
28
29
protected
function
setUp
(): void
30
{
31
parent::setUp();
32
33
$this->
addGlobal_ilCtrl
();
34
$this->
addGlobal_lng
();
35
36
$this->testObj =
new
ilRandomTestROInputGUI
();
37
}
38
39
public
function
test_instantiateObject_shouldReturnInstance
(): void
40
{
41
$this->assertInstanceOf(ilRandomTestROInputGUI::class, $this->testObj);
42
}
43
44
public
function
testSetValues
(): void
45
{
46
$expected = [
47
"test"
=>
"test2"
,
48
"hello"
=>
"world"
49
];
50
$this->testObj->setValues($expected);
51
$this->assertEquals($this->testObj->getValues(), $expected);
52
}
53
}
ilRandomTestROInputGUI
This class represents a random test input property in a property form.
Definition:
class.ilRandomTestROInputGUI.php:28
ilRandomTestROInputGUITest
Class ilRandomTestROInputGUITest.
Definition:
ilRandomTestROInputGUITest.php:25
ilRandomTestROInputGUITest\setUp
setUp()
Definition:
ilRandomTestROInputGUITest.php:29
ilRandomTestROInputGUITest\testSetValues
testSetValues()
Definition:
ilRandomTestROInputGUITest.php:44
ilTestBaseTestCase\addGlobal_lng
addGlobal_lng()
Definition:
ilTestBaseTestCase.php:185
ilTestBaseTestCase\addGlobal_ilCtrl
addGlobal_ilCtrl()
Definition:
ilTestBaseTestCase.php:180
ilRandomTestROInputGUITest\$testObj
ilRandomTestROInputGUI $testObj
Definition:
ilRandomTestROInputGUITest.php:27
ilTestBaseTestCase
Class ilTestBaseClass.
Definition:
ilTestBaseTestCase.php:36
ilRandomTestROInputGUITest\test_instantiateObject_shouldReturnInstance
test_instantiateObject_shouldReturnInstance()
Definition:
ilRandomTestROInputGUITest.php:39
Modules
Test
test
ilRandomTestROInputGUITest.php
Generated on Wed Sep 10 2025 14:11:08 for ILIAS by
1.8.13 (using
Doxyfile
)