ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
UIComponentsTest.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
require_once(
"vendor/composer/vendor/autoload.php"
);
22
include_once(
"components/ILIAS/UI/tests/Crawler/Fixture/Fixture.php"
);
23
24
use
ILIAS\UI\Implementation\Crawler
as
Crawler
;
25
use
PHPUnit\Framework\TestCase
;
26
30
class
UIComponentsTest
extends
TestCase
31
{
32
protected
Crawler\FactoriesCrawler
$crawler
;
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
44
public
function
testAllUIComponentsFactoriesForNotThrowingErrors
(): void
45
{
46
$this->crawler->crawlFactory($this->path_to_base_factory);
50
$this->assertTrue(
true
);
51
}
52
}
UIComponentsTest
Tests the actual UI components from src/UI.
Definition:
UIComponentsTest.php:30
UIComponentsTest\testAllUIComponentsFactoriesForNotThrowingErrors
testAllUIComponentsFactoriesForNotThrowingErrors()
Definition:
UIComponentsTest.php:44
UIComponentsTest\$crawler
Crawler FactoriesCrawler $crawler
Definition:
UIComponentsTest.php:32
UIComponentsTest\$path_to_base_factory
string $path_to_base_factory
Definition:
UIComponentsTest.php:33
ILIAS\UI\Implementation\Crawler
Definition:
Crawler.php:21
UIComponentsTest\setUp
setUp()
Definition:
UIComponentsTest.php:36
TestCase
TestCase
components
ILIAS
UI
tests
Crawler
UIComponentsTest.php
Generated on Sun Aug 31 2025 23:04:17 for ILIAS by
1.8.13 (using
Doxyfile
)