ILIAS
release_8 Revision v8.23
◀ ilDoc Overview
ilRandomTestROInputGUITest.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
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 file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilRandomTestROInputGUI.php:26
ilRandomTestROInputGUITest
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
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:175
ilTestBaseTestCase\addGlobal_ilCtrl
addGlobal_ilCtrl()
Definition:
ilTestBaseTestCase.php:170
ilRandomTestROInputGUITest\$testObj
ilRandomTestROInputGUI $testObj
Definition:
ilRandomTestROInputGUITest.php:27
ilTestBaseTestCase
Class ilTestBaseClass.
Definition:
ilTestBaseTestCase.php:35
ilRandomTestROInputGUITest\test_instantiateObject_shouldReturnInstance
test_instantiateObject_shouldReturnInstance()
Definition:
ilRandomTestROInputGUITest.php:39
Modules
Test
test
ilRandomTestROInputGUITest.php
Generated on Sun Aug 31 2025 22:01:38 for ILIAS by
1.8.13 (using
Doxyfile
)