ILIAS
release_8 Revision v8.23
◀ ilDoc Overview
FormGUITest.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
5
use
PHPUnit\Framework\TestCase
;
6
12
class
FormGUITest
extends
TestCase
13
{
14
//protected $backupGlobals = false;
15
16
protected
function
setUp
(): void
17
{
18
parent::setUp();
19
}
20
21
protected
function
tearDown
(): void
22
{
23
}
24
28
public
function
testFormGUIProperties
(): void
29
{
30
$form_gui =
new
ilFormGUI
();
31
32
$form_gui->setId(
"myid"
);
33
$this->assertEquals(
34
"myid"
,
35
$form_gui->getId()
36
);
37
38
$form_gui->setCloseTag(
true
);
39
$this->assertEquals(
40
true
,
41
$form_gui->getCloseTag()
42
);
43
44
$form_gui->setName(
"myname"
);
45
$this->assertEquals(
46
"myname"
,
47
$form_gui->getName()
48
);
49
}
50
}
FormGUITest\setUp
setUp()
Definition:
FormGUITest.php:16
FormGUITest\testFormGUIProperties
testFormGUIProperties()
Test get HTML return an array.
Definition:
FormGUITest.php:28
ilFormGUI
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilFormGUI.php:25
FormGUITest\tearDown
tearDown()
Definition:
FormGUITest.php:21
FormGUITest
Test clipboard repository.
Definition:
FormGUITest.php:12
TestCase
Services
Form
test
FormGUITest.php
Generated on Wed Sep 3 2025 22:02:27 for ILIAS by
1.8.13 (using
Doxyfile
)