ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ComponentRendererLoaderHelperTest Class Reference
+ Inheritance diagram for ComponentRendererLoaderHelperTest:
+ Collaboration diagram for ComponentRendererLoaderHelperTest:

Public Member Functions

 test_getContextNames ()
 

Detailed Description

Definition at line 7 of file ComponentRendererLoaderHelperTest.php.

Member Function Documentation

◆ test_getContextNames()

ComponentRendererLoaderHelperTest::test_getContextNames ( )

Definition at line 11 of file ComponentRendererLoaderHelperTest.php.

References $names.

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

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