5require_once(__DIR__.
"/../../../../libs/composer/vendor/autoload.php");
6require_once(__DIR__.
"/../../Base.php");
8use \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");
An exception for terminatinating execution or to throw for unit testing.
Provides common functionality for UI tests.
Test on button implementation.
test_implements_factory_interface()