19 declare(strict_types=1);
    21 require_once(
"vendor/composer/vendor/autoload.php");
    22 require_once(__DIR__ . 
"../../../../Base.php");
    60         $this->assertInstanceOf(
"ILIAS\\UI\\Component\\Tree\\Node\\Node", $node);
   100         $sig_gen = 
new I\SignalGenerator();
   101         $sig = $sig_gen->create();
   104         $check = $node->getTriggeredSignals()[0]->getSignal();
   105         $this->assertEquals($sig, 
$check);
   114         $sig_gen = 
new I\SignalGenerator();
   115         $sig = $sig_gen->create();
   119         $this->assertEquals($sig, 
$check);
   127         $uri = 
new URI(
'http://google.de:8080');
   129         $node = $node->withLink($uri);
   133         $this->assertEquals(
'http://google.de:8080', $stringTransformation->transform($node->getLink()));
 __construct(string $label, URI $link=null)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
withExpanded(bool $expanded)
 
Tests for the (Base-)Node. 
 
Interface Observer  Contains several chained tasks and infos about them. 
 
testWithHighlighted(TestingNode $node)
testConstruction 
 
withOnClick(Signal $signal)
 
testWithURI(Clickable $node)
testWithOnClick 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
withHighlighted(bool $highlighted)
 
testWithAppendOnClick(Clickable $node)
testWithOnClick 
 
testDefaults(TestingNode $node)
testConstruction 
 
withLink(URI $link)
Create a new node object with an URI that will be added to the UI. 
 
The scope of this class is split ilias-conform URI's into components. 
 
Dummy-implementation for testing. 
 
testWithExpanded(TestingNode $node)
testConstruction 
 
__construct(Container $dic, ilPlugin $plugin)
 
getTriggeredSignals()
Get all triggered signals of this component. 
 
testWithOnClick(TestingNode $node)
testConstruction 
 
appendOnClick(Signal $signal)
Get a component like this, triggering a signal of another component on click.