ILIAS
release_8 Revision v8.23
◀ ilDoc Overview
UIComponentsTest.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
21
require_once(
"libs/composer/vendor/autoload.php"
);
22
include_once(
"tests/UI/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
=
"src/UI/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
ILIAS\UI\Implementation\Crawler\FactoriesCrawler
Definition:
FactoriesCrawler.php:29
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
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
Crawler.php:21
UIComponentsTest\setUp
setUp()
Definition:
UIComponentsTest.php:36
TestCase
tests
UI
Crawler
UIComponentsTest.php
Generated on Mon Sep 1 2025 22:03:05 for ILIAS by
1.8.13 (using
Doxyfile
)