ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
TableTest.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 require_once("libs/composer/vendor/autoload.php");
22 require_once(__DIR__ . "/../../Base.php");
23 
24 use ILIAS\UI\Component as C;
26 
31 {
32  public function testBaseTable()
33  {
34  $title = 'some title';
35  $table = new class ($title) extends I\Table\Table {
36  };
37  $this->assertEquals($title, $table->getTitle());
38 
39  $title = 'some other title';
40  $table = $table->withTitle($title);
41  $this->assertEquals($title, $table->getTitle());
42  }
43 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Provides common functionality for UI tests.
Definition: Base.php:298
testBaseTable()
Definition: TableTest.php:32
Basic Tests for all Tables.
Definition: TableTest.php:30