ILIAS  release_7 Revision v7.30-3-g800a261c036
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
4require_once("libs/composer/vendor/autoload.php");
5include_once("tests/UI/Crawler/Fixture/Fixture.php");
6
8use PHPUnit\Framework\TestCase;
9
13class UIComponentsTest extends TestCase
14{
15
16
20 protected $crawler;
21
25 protected $path_to_base_factory = "src/UI/Factory.php";
26
27
28 protected function setUp() : void
29 {
30 $this->crawler = new Crawler\FactoriesCrawler();
31 }
32
37 {
38 $this->crawler->crawlFactory($this->path_to_base_factory);
42 $this->assertTrue(true);
43 }
44}
An exception for terminatinating execution or to throw for unit testing.
Tests the actual UI components from src/UI.
testAllUIComponentsFactoriesForNotThrowingErrors()