ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ 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
15
19
protected
$crawler
;
20
24
protected
$path_to_base_factory
=
"src/UI/Factory.php"
;
25
26
27
protected
function
setUp
()
28
{
29
$this->crawler =
new
Crawler\FactoriesCrawler
();
30
}
31
35
public
function
testAllUIComponentsFactoriesForNotThrowingErrors
()
36
{
37
$this->crawler->crawlFactory($this->path_to_base_factory);
41
$this->assertTrue(
true
);
42
}
43
}
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:35
UIComponentsTest\$path_to_base_factory
$path_to_base_factory
Definition:
UIComponentsTest.php:24
PHPUnit_Framework_TestCase
UIComponentsTest\$crawler
$crawler
Definition:
UIComponentsTest.php:19
ILIAS\UI\Implementation\Crawler
Definition:
Crawler.php:5
UIComponentsTest\setUp
setUp()
Definition:
UIComponentsTest.php:27
tests
UI
Crawler
UIComponentsTest.php
Generated on Tue Jan 28 2025 19:01:46 for ILIAS by
1.8.13 (using
Doxyfile
)