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\\Factory", $f);
29 $this->assertInstanceOf(
30 "ILIAS\\UI\\Component\\Legacy\\Legacy",
31 $f->legacy(
"Legacy Content")
38 $g = $f->legacy(
"Legacy Content");
40 $this->assertEquals($g->getContent(),
"Legacy Content");
49 $g = $f->legacy(
"Legacy Content");
51 $this->assertEquals(
$r->render($g),
"Legacy Content");
test_implements_factory_interface()
getDefaultRenderer(JavaScriptBinding $js_binding=null)
Provides common functionality for UI tests.
Test on button implementation.