3declare(strict_types=1);
 
   21require_once(
"libs/composer/vendor/autoload.php");
 
   22require_once(__DIR__ . 
"../../../../Base.php");
 
   60        $this->assertInstanceOf(
"ILIAS\\UI\\Component\\Tree\\Node\\Node", $node);
 
  101        $sig = $sig_gen->create();
 
  104        $check = $node->getTriggeredSignals()[0]->getSignal();
 
  105        $this->assertEquals($sig, 
$check);
 
  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()));
 
The scope of this class is split ilias-conform URI's into components.
 
withHighlighted(bool $highlighted)
@inhertidoc
 
withExpanded(bool $expanded)
 
withOnClick(Signal $signal)
@inhertidoc
 
isHighlighted()
@inhertidoc
 
Provides common functionality for UI tests.
 
Tests for the (Base-)Node.
 
testWithURI(Clickable $node)
@depends testWithOnClick
 
testWithExpanded(TestingNode $node)
@depends testConstruction
 
testDefaults(TestingNode $node)
@depends testConstruction
 
testWithOnClick(TestingNode $node)
@depends testConstruction
 
testWithHighlighted(TestingNode $node)
@depends testConstruction
 
testWithAppendOnClick(Clickable $node)
@depends testWithOnClick
 
Dummy-implementation for testing.
 
__construct(string $label, URI $link=null)
 
withLink(URI $link)
Create a new node object with an URI that will be added to the UI.
 
appendOnClick(Signal $signal)
Get a component like this, triggering a signal of another component on click.
 
This describes a Tree Node.
 
getTriggeredSignals()
Get all triggered signals of this component.
 
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
Class ChatMainBarProvider \MainMenu\Provider.