ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
MainFactoryTest.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 require_once 'components/ILIAS/UI/tests/AbstractFactoryTestCase.php';
22 
27 {
28  public static array $kitchensink_info_settings = [
29  "card" => ["context" => false],
30  "deck" => ["context" => false],
31  "image" => ["context" => false, "rules" => false],
32  "legacy" => ["context" => false],
33  "viewControl" => ["rules" => false],
34  "input" => ["rules" => false],
35  "table" => ["rules" => false],
36  "layout" => ["rules" => false],
37  "menu" => ["rules" => false],
38  "symbol" => ["rules" => false],
39  "entity" => ["context" => true]
40  ];
41 
42  public static string $factory_title = 'ILIAS\\UI\\Factory';
43 
44  #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
45  public function testProperNamespace(): void
46  {
47  // Nothing to test here.
48  }
49 
50  #[\PHPUnit\Framework\Attributes\DoesNotPerformAssertions]
51  public function testProperName(): void
52  {
53  // Nothing to test here.
54  }
55 
56  protected function getRegexFactoryNamespace(): string
57  {
58  return "\\\\ILIAS\\\\UI\\\\Component";
59  }
60 }
Class MainFactoryTest.
static array $kitchensink_info_settings
static string $factory_title
Defines tests every SHOULD pass UI-factory.