5require_once(__DIR__ . 
"/../../../../libs/composer/vendor/autoload.php");
 
    6require_once(__DIR__ . 
"/../../Base.php");
 
    8use \ILIAS\UI\Component as 
C;
 
   17        return new \ILIAS\UI\Implementation\Component\Link\Factory();
 
   24        $this->assertInstanceOf(
"ILIAS\\UI\\Component\\Link\\Factory", $f);
 
   25        $this->assertInstanceOf(
 
   26            "ILIAS\\UI\\Component\\Link\\Standard",
 
   27            $f->standard(
"label", 
"http://www.ilias.de")
 
   34        $c = $f->standard(
"label", 
"http://www.ilias.de");
 
   36        $this->assertEquals($c->getLabel(), 
"label");
 
   42        $c = $f->standard(
"label", 
"http://www.ilias.de");
 
   44        $this->assertEquals($c->getAction(), 
"http://www.ilias.de");
 
   52        $c = $f->standard(
"label", 
"http://www.ilias.de");
 
   57            '<a href="http://www.ilias.de">label</a>';
 
   67        $c = $f->standard(
"label", 
"http://www.ilias.de")->withOpenInNewViewport(
true);
 
   72            '<a href="http://www.ilias.de" target="_blank" rel="noopener">label</a>';
 
An exception for terminatinating execution or to throw for unit testing.
Provides common functionality for UI tests.
assertHTMLEquals($expected_html_as_string, $html_as_string)
getDefaultRenderer(JavaScriptBinding $js_binding=null)
Test on link implementation.
test_implements_factory_interface()
test_render_with_new_viewport()