ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables 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
 
 $path_to_base_factory = "src/UI/Factory.php"
 

Detailed Description

Tests the actual UI components from src/UI.

If no error is thrown, everything should be fine.

Definition at line 13 of file UIComponentsTest.php.

Member Function Documentation

◆ setUp()

UIComponentsTest::setUp ( )
protected

Definition at line 28 of file UIComponentsTest.php.

28  : void
29  {
30  $this->crawler = new Crawler\FactoriesCrawler();
31  }

◆ testAllUIComponentsFactoriesForNotThrowingErrors()

UIComponentsTest::testAllUIComponentsFactoriesForNotThrowingErrors ( )
Exceptions
Crawler

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

Definition at line 36 of file UIComponentsTest.php.

37  {
38  $this->crawler->crawlFactory($this->path_to_base_factory);
42  $this->assertTrue(true);
43  }

Field Documentation

◆ $crawler

UIComponentsTest::$crawler
protected

Definition at line 20 of file UIComponentsTest.php.

◆ $path_to_base_factory

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

Definition at line 25 of file UIComponentsTest.php.


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