ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
UIComponentsTest.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21require_once("vendor/composer/vendor/autoload.php");
22include_once("components/ILIAS/UI/tests/Crawler/Fixture/Fixture.php");
23
25use PHPUnit\Framework\TestCase;
26
30class UIComponentsTest extends TestCase
31{
33 protected string $path_to_base_factory = "components/ILIAS/UI/src/Factory.php";
34
35
36 protected function setUp(): void
37 {
38 $this->crawler = new Crawler\FactoriesCrawler();
39 }
40
45 {
46 $this->crawler->crawlFactory($this->path_to_base_factory);
50 $this->assertTrue(true);
51 }
52}
Tests the actual UI components from src/UI.
Crawler FactoriesCrawler $crawler
testAllUIComponentsFactoriesForNotThrowingErrors()