ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
ComponentRendererLoaderHelperTest Class Reference
+ Inheritance diagram for ComponentRendererLoaderHelperTest:
+ Collaboration diagram for ComponentRendererLoaderHelperTest:

Public Member Functions

 test_getContextNames ()
 

Detailed Description

Definition at line 9 of file ComponentRendererLoaderHelperTest.php.

Member Function Documentation

◆ test_getContextNames()

ComponentRendererLoaderHelperTest::test_getContextNames ( )

Definition at line 13 of file ComponentRendererLoaderHelperTest.php.

14  {
15  $c1 = new \ILIAS\UI\Component\Test\TestComponent("foo");
16  $c2 = new \ILIAS\UI\Implementation\Component\Symbol\Glyph\Glyph("up", "up");
17  $names = $this->getContextNames([$c1, $c2]);
18  $expected = ["TestComponentTest", "GlyphGlyphSymbol"];
19  $this->assertEquals($expected, $names);
20  }

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