|
ILIAS
release_8 Revision v8.24
|
Tests for the Slate. More...
Inheritance diagram for SlateTest:
Collaboration diagram for SlateTest:Public Member Functions | |
| setUp () | |
| testConstruction () | |
| testWithEngaged (Slate $slate) | |
| @depends testConstruction More... | |
| testWithAriaRole (Slate $slate) | |
| @depends testConstruction More... | |
| testWithAriaRoleIncorrect (Slate $slate) | |
| @depends testConstruction More... | |
| testSignals (Slate $slate) | |
| @depends testConstruction More... | |
| testDifferentSignals (array $signals) | |
| @depends testSignals More... | |
Public Member Functions inherited from ILIAS_UI_TestBase | |
| setUp () | |
| tearDown () | |
| getUIFactory () | |
| getTemplateFactory () | |
| getResourceRegistry () | |
| getLanguage () | |
| getJavaScriptBinding () | |
| getRefinery () | |
| getImagePathResolver () | |
| getDataFactory () | |
| getDefaultRenderer (JavaScriptBinding $js_binding=null, array $with_stub_renderings=[]) | |
| getDecoratedRenderer (Renderer $default) | |
| normalizeHTML (string $html) | |
| assertHTMLEquals (string $expected_html_as_string, string $html_as_string) | |
Protected Attributes | |
| I SignalGenerator | $sig_gen |
| I Button Factory | $button_factory |
| I Symbol Icon Factory | $icon_factory |
Additional Inherited Members | |
Protected Member Functions inherited from ILIAS_UI_TestBase | |
| brutallyTrimHTML (string $html) | |
| A more radical version of normalizeHTML. More... | |
| brutallyTrimSignals (string $html) | |
| A naive replacement of all il_signal-ids with dots to ease comparisons of rendered output. More... | |
Tests for the Slate.
Definition at line 47 of file SlateTest.php.
| SlateTest::setUp | ( | ) |
Reimplemented from ILIAS_UI_TestBase.
Definition at line 53 of file SlateTest.php.
| SlateTest::testConstruction | ( | ) |
Definition at line 60 of file SlateTest.php.
References $name.
| SlateTest::testDifferentSignals | ( | array | $signals | ) |
@depends testSignals
Definition at line 130 of file SlateTest.php.
| SlateTest::testSignals | ( | Slate | $slate | ) |
@depends testConstruction
Definition at line 114 of file SlateTest.php.
References ILIAS\UI\Implementation\Component\MainControls\Slate\Slate\getEngageSignal(), ILIAS\UI\Implementation\Component\MainControls\Slate\Slate\getReplaceSignal(), and ILIAS\UI\Implementation\Component\MainControls\Slate\Slate\getToggleSignal().
Here is the call graph for this function:| SlateTest::testWithAriaRole | ( | Slate | $slate | ) |
@depends testConstruction
Definition at line 88 of file SlateTest.php.
References Vendor\Package\$e, ILIAS\UI\Implementation\Component\MainControls\Slate\Slate\getAriaRole(), and ILIAS\UI\Implementation\Component\MainControls\Slate\Slate\withAriaRole().
Here is the call graph for this function:| SlateTest::testWithAriaRoleIncorrect | ( | Slate | $slate | ) |
@depends testConstruction
Definition at line 101 of file SlateTest.php.
References Vendor\Package\$e, and ILIAS\UI\Implementation\Component\MainControls\Slate\Slate\withAriaRole().
Here is the call graph for this function:| SlateTest::testWithEngaged | ( | Slate | $slate | ) |
@depends testConstruction
Definition at line 79 of file SlateTest.php.
References ILIAS\UI\Implementation\Component\MainControls\Slate\Slate\getEngaged(), and ILIAS\UI\Implementation\Component\MainControls\Slate\Slate\withEngaged().
Here is the call graph for this function:
|
protected |
Definition at line 50 of file SlateTest.php.
|
protected |
Definition at line 51 of file SlateTest.php.
|
protected |
Definition at line 49 of file SlateTest.php.