5 require_once(__DIR__.
"/../../../../libs/composer/vendor/autoload.php");
6 require_once(__DIR__.
"/../../Base.php");
8 use \ILIAS\UI\Component as
C;
20 return new \ILIAS\UI\Implementation\Factory();
26 $this->assertInstanceOf(
"ILIAS\\UI\\Factory", $f);
27 $this->assertInstanceOf
28 (
"ILIAS\\UI\\Component\\Legacy\\Legacy" 29 , $f->legacy(
"Legacy Content")
35 $g = $f->legacy(
"Legacy Content");
37 $this->assertEquals($g->getContent(),
"Legacy Content");
45 $g = $f->legacy(
"Legacy Content");
47 $this->assertEquals(
$r->render($g),
"Legacy Content");
test_implements_factory_interface()
Provides common functionality for UI tests.
Test on button implementation.