Definition at line 39 of file DefaultRendererTest.php.
◆ getResourceRegistry()
DefaultRendererTest::getResourceRegistry |
( |
| ) |
|
Definition at line 69 of file DefaultRendererTest.php.
70 $this->resource_registry = parent::getResourceRegistry();
71 return $this->resource_registry;
◆ test_getRenderer_caching()
DefaultRendererTest::test_getRenderer_caching |
( |
| ) |
|
Definition at line 54 of file DefaultRendererTest.php.
56 $r1 = $dr->getRendererFor(
"\\ILIAS\\UI\\Implementation\\Component\\Glyph\\Glyph");
57 $r2 = $dr->getRendererFor(
"\\ILIAS\\UI\\Implementation\\Component\\Glyph\\Glyph");
58 $this->assertTrue($r1 === $r2,
"Instances not equal");
◆ test_getRenderer_successfully()
DefaultRendererTest::test_getRenderer_successfully |
( |
| ) |
|
Definition at line 47 of file DefaultRendererTest.php.
References $r.
50 $r = $dr->getRendererFor(
"\\ILIAS\\UI\\Implementation\\Component\\Glyph\\Glyph");
51 $this->assertInstanceOf(
"\\ILIAS\\UI\\Implementation\\Render\\ComponentRenderer",
$r);
◆ test_getRendererNameFor()
DefaultRendererTest::test_getRendererNameFor |
( |
| ) |
|
Definition at line 61 of file DefaultRendererTest.php.
64 $renderer_class = $dr->getRendererNameFor(
"\\ILIAS\\UI\\Implementation\\Component\\Glyph\\Glyph");
65 $expected =
"\\ILIAS\\UI\\Implementation\\Component\\Glyph\\Renderer";
66 $this->assertEquals($expected, $renderer_class);
◆ test_instantiateRenderer_successfully()
DefaultRendererTest::test_instantiateRenderer_successfully |
( |
| ) |
|
Definition at line 40 of file DefaultRendererTest.php.
References $r.
43 $r = $dr->instantiateRendererFor(
"\\ILIAS\\UI\\Implementation\\Component\\Glyph\\Glyph");
44 $this->assertInstanceOf(
"\\ILIAS\\UI\\Implementation\\Render\\ComponentRenderer",
$r);
◆ test_invokesRegistry()
DefaultRendererTest::test_invokesRegistry |
( |
| ) |
|
Definition at line 74 of file DefaultRendererTest.php.
References array.
76 $component = new \ILIAS\UI\Test\TestComponent(
"foo");
78 $dr->render($component);
80 $this->assertEquals(
array(
"test.js"), $this->resource_registry->resources);
Create styles array
The data for the language used.
The documentation for this class was generated from the following file: