ILIAS  trunk Revision v11.0_alpha-1744-gb0451eebef4
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
UIComponentsTest Class Reference

Tests the actual UI components from src/UI. More...

+ Inheritance diagram for UIComponentsTest:
+ Collaboration diagram for UIComponentsTest:

Public Member Functions

 testAllUIComponentsFactoriesForNotThrowingErrors ()
 

Protected Member Functions

 setUp ()
 

Protected Attributes

Crawler FactoriesCrawler $crawler
 
string $path_to_base_factory = "components/ILIAS/UI/src/Factory.php"
 

Detailed Description

Tests the actual UI components from src/UI.

If no error is thrown, everything should be fine.

Definition at line 30 of file UIComponentsTest.php.

Member Function Documentation

◆ setUp()

UIComponentsTest::setUp ( )
protected

Definition at line 36 of file UIComponentsTest.php.

36  : void
37  {
38  $this->crawler = new Crawler\FactoriesCrawler();
39  }

◆ testAllUIComponentsFactoriesForNotThrowingErrors()

UIComponentsTest::testAllUIComponentsFactoriesForNotThrowingErrors ( )
Exceptions
Crawler

This assertion is only reached if all entries have been successfully parsed (no error was thrown)

Definition at line 44 of file UIComponentsTest.php.

44  : void
45  {
46  $this->crawler->crawlFactory($this->path_to_base_factory);
50  $this->assertTrue(true);
51  }

Field Documentation

◆ $crawler

Crawler FactoriesCrawler UIComponentsTest::$crawler
protected

Definition at line 32 of file UIComponentsTest.php.

◆ $path_to_base_factory

string UIComponentsTest::$path_to_base_factory = "components/ILIAS/UI/src/Factory.php"
protected

Definition at line 33 of file UIComponentsTest.php.


The documentation for this class was generated from the following file: