5 require_once(__DIR__ .
"/../../../../libs/composer/vendor/autoload.php");
6 require_once(__DIR__ .
"/../../Base.php");
8 use \ILIAS\UI\Component as
C;
21 return new \ILIAS\UI\Implementation\Factory();
28 $this->assertInstanceOf(
"ILIAS\\UI\\Component\\Divider\\Horizontal", $f->divider()->horizontal());
34 $c = $f->divider()->horizontal()->withLabel(
"label");
36 $this->assertEquals($c->getLabel(),
"label");
44 $c = $f->divider()->horizontal();
48 $expected_html =
"<hr/>";
58 $c = $f->divider()->horizontal()->withLabel(
"label");
61 $expected_html =
'<hr class="il-divider-with-label" /><h6 class="il-divider">label</h6>';
test_render_horizontal_empty()
getDefaultRenderer(JavaScriptBinding $js_binding=null)
test_implements_factory_interface()
Provides common functionality for UI tests.
assertHTMLEquals($expected_html_as_string, $html_as_string)
test_render_horizontal_with_label()
Test on divider implementation.