ILIAS
release_8 Revision v8.23
|
Tests for the Slate. More...
Public Member Functions | |
setUp () | |
testConstruction () | |
testWithEngaged (Slate $slate) | |
testConstruction More... | |
testWithAriaRole (Slate $slate) | |
testConstruction More... | |
testWithAriaRoleIncorrect (Slate $slate) | |
testConstruction More... | |
testSignals (Slate $slate) | |
testConstruction More... | |
testDifferentSignals (array $signals) | |
testSignals More... | |
![]() | |
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 | |
![]() | |
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 | ( | ) |
Definition at line 53 of file SlateTest.php.
SlateTest::testConstruction | ( | ) |
Definition at line 60 of file SlateTest.php.
References ILIAS\UI\Implementation\Component\MainControls\Slate\Slate\$name.
SlateTest::testDifferentSignals | ( | array | $signals | ) |
testSignals
Definition at line 130 of file SlateTest.php.
SlateTest::testSignals | ( | Slate | $slate | ) |
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().
SlateTest::testWithAriaRole | ( | Slate | $slate | ) |
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().
SlateTest::testWithAriaRoleIncorrect | ( | Slate | $slate | ) |
testConstruction
Definition at line 101 of file SlateTest.php.
References Vendor\Package\$e, and ILIAS\UI\Implementation\Component\MainControls\Slate\Slate\withAriaRole().
SlateTest::testWithEngaged | ( | Slate | $slate | ) |
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().
|
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.