ILIAS  release_8 Revision v8.23
FormGUITest.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
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 }
testFormGUIProperties()
Test get HTML return an array.
Definition: FormGUITest.php:28
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Test clipboard repository.
Definition: FormGUITest.php:12