ILIAS
release_8 Revision v8.19
|
Tests for the Footer. More...
Public Member Functions | |
setUp () | |
testConstruction () | |
testConstructionNoLinks () | |
testGetLinks (C\MainControls\Footer $footer) | |
testConstruction More... | |
testGetText (C\MainControls\Footer $footer) | |
testConstruction More... | |
testGetAndSetModalsWithTrigger (C\MainControls\Footer $footer) | |
testConstruction More... | |
testPermanentURL (C\MainControls\Footer $footer) | |
testConstruction More... | |
getUIFactory () | |
testRendering (C\MainControls\Footer $footer) | |
testConstruction More... | |
testRenderingNoLinks (C\MainControls\Footer $footer) | |
testConstructionNoLinks More... | |
testRenderingPermUrl ($footer) | |
testPermanentURL More... | |
testRenderingModalsWithTriggers (C\MainControls\Footer $footer) | |
testGetAndSetModalsWithTrigger 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 Member Functions | |
getFactory () | |
getModalFactory () | |
![]() | |
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... | |
Private Attributes | |
array | $links = [] |
string | $text = '' |
string | $perm_url = '' |
Tests for the Footer.
Definition at line 34 of file FooterTest.php.
|
protected |
Definition at line 51 of file FooterTest.php.
Referenced by testConstruction(), and testConstructionNoLinks().
|
protected |
Definition at line 317 of file FooterTest.php.
Referenced by testGetAndSetModalsWithTrigger().
FooterTest::getUIFactory | ( | ) |
Definition at line 150 of file FooterTest.php.
FooterTest::setUp | ( | ) |
FooterTest::testConstruction | ( | ) |
Definition at line 67 of file FooterTest.php.
References getFactory().
FooterTest::testConstructionNoLinks | ( | ) |
Definition at line 77 of file FooterTest.php.
References getFactory().
FooterTest::testGetAndSetModalsWithTrigger | ( | C\MainControls\Footer | $footer | ) |
testConstruction
Definition at line 112 of file FooterTest.php.
References getModalFactory().
FooterTest::testGetLinks | ( | C\MainControls\Footer | $footer | ) |
testConstruction
Definition at line 90 of file FooterTest.php.
FooterTest::testGetText | ( | C\MainControls\Footer | $footer | ) |
testConstruction
Definition at line 101 of file FooterTest.php.
FooterTest::testPermanentURL | ( | C\MainControls\Footer | $footer | ) |
FooterTest::testRendering | ( | C\MainControls\Footer | $footer | ) |
testConstruction
Definition at line 168 of file FooterTest.php.
References ILIAS_UI_TestBase\brutallyTrimHTML(), ILIAS\UI\examples\MainControls\Footer\footer(), ILIAS_UI_TestBase\getDefaultRenderer(), and ILIAS\UI\examples\Symbol\Glyph\Up\up().
FooterTest::testRenderingModalsWithTriggers | ( | C\MainControls\Footer | $footer | ) |
testGetAndSetModalsWithTrigger
Definition at line 255 of file FooterTest.php.
References ILIAS_UI_TestBase\brutallyTrimHTML(), ILIAS\UI\examples\MainControls\Footer\footer(), ILIAS_UI_TestBase\getDefaultRenderer(), and ILIAS\UI\examples\Symbol\Glyph\Up\up().
FooterTest::testRenderingNoLinks | ( | C\MainControls\Footer | $footer | ) |
testConstructionNoLinks
Definition at line 199 of file FooterTest.php.
References ILIAS_UI_TestBase\brutallyTrimHTML(), ILIAS\UI\examples\MainControls\Footer\footer(), and ILIAS_UI_TestBase\getDefaultRenderer().
FooterTest::testRenderingPermUrl | ( | $footer | ) |
testPermanentURL
Definition at line 223 of file FooterTest.php.
References ILIAS_UI_TestBase\brutallyTrimHTML(), ILIAS\UI\examples\MainControls\Footer\footer(), ILIAS_UI_TestBase\getDefaultRenderer(), and ILIAS\UI\examples\Symbol\Glyph\Up\up().
|
private |
Definition at line 36 of file FooterTest.php.
|
private |
Definition at line 38 of file FooterTest.php.
Referenced by testPermanentURL().
|
private |
Definition at line 37 of file FooterTest.php.