ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
UIComponentsTest.php
Go to the documentation of this file.
1
<?
php
2
/* Copyright (c) 2016 Timon Amstutz <timon.amstutz@ilub.unibe.ch> Extended GPL, see docs/LICENSE */
3
4
require_once(
"libs/composer/vendor/autoload.php"
);
5
include_once(
"tests/UI/Crawler/Fixture/Fixture.php"
);
6
7
use
ILIAS\UI\Implementation\Crawler
as
Crawler
;
8
12
class
UIComponentsTest
extends
PHPUnit_Framework_TestCase
{
13
14
18
protected
$crawler
;
19
23
protected
$path_to_base_factory
=
"src/UI/Factory.php"
;
24
25
26
protected
function
setUp
(){
27
$this->crawler =
new
Crawler\FactoriesCrawler
();
28
}
29
33
public
function
testAllUIComponentsFactoriesForNotThrowingErrors
() {
34
35
$this->crawler->crawlFactory($this->path_to_base_factory);
39
$this->assertTrue(
true
);
40
}
41
42
}
UIComponentsTest
Tests the actual UI components from src/UI.
Definition:
UIComponentsTest.php:12
ILIAS\UI\Implementation\Crawler\FactoriesCrawler
Definition:
FactoriesCrawler.php:12
UIComponentsTest\testAllUIComponentsFactoriesForNotThrowingErrors
testAllUIComponentsFactoriesForNotThrowingErrors()
Definition:
UIComponentsTest.php:33
UIComponentsTest\$path_to_base_factory
$path_to_base_factory
Definition:
UIComponentsTest.php:23
PHPUnit_Framework_TestCase
UIComponentsTest\$crawler
$crawler
Definition:
UIComponentsTest.php:18
php
ILIAS\UI\Implementation\Crawler
Definition:
Crawler.php:5
UIComponentsTest\setUp
setUp()
Definition:
UIComponentsTest.php:26
tests
UI
Crawler
UIComponentsTest.php
Generated on Fri Feb 21 2025 19:01:23 for ILIAS by
1.8.13 (using
Doxyfile
)