ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Tests for the Main Bar. More...
Public Member Functions | |
setUp () | |
testConstruction () | |
testAddEntry () | |
testDisallowedEntry () | |
testDouplicateIdEntry () | |
testDisallowedToolEntry () | |
testAddToolEntryWithoutToolsButton () | |
testAddToolEntry () | |
testDouplicateIdToolEntry () | |
testActive (C\MainControls\MainBar $mb) | |
@depends testAddEntry More... | |
testWithInvalidActive () | |
testSignalsPresent () | |
testRendering () | |
![]() | |
setUp () | |
tearDown () | |
getUIFactory () | |
getTemplateFactory () | |
getResourceRegistry () | |
getLanguage () | |
getJavaScriptBinding () | |
getRefinery () | |
getImagePathResolver () | |
getDefaultRenderer (JavaScriptBinding $js_binding=null, $with_stub_renderings=[]) | |
getDecoratedRenderer (Renderer $default) | |
normalizeHTML ($html) | |
assertHTMLEquals ($expected_html_as_string, $html_as_string) | |
Protected Member Functions | |
getButton () | |
getLink () | |
getSlate () | |
![]() | |
brutallyTrimHTML ($html) | |
A more radical version of normalizeHTML. More... | |
Protected Attributes | |
$button_factory | |
$link_factory | |
$icon_factory | |
$factory | |
$mainbar | |
Tests for the Main Bar.
Definition at line 18 of file MainBarTest.php.
|
protected |
Definition at line 70 of file MainBarTest.php.
Referenced by testAddEntry(), testAddToolEntry(), testDouplicateIdEntry(), testDouplicateIdToolEntry(), and testRendering().
|
protected |
Definition at line 76 of file MainBarTest.php.
Referenced by testAddEntry().
|
protected |
Definition at line 86 of file MainBarTest.php.
Referenced by testAddToolEntry(), testAddToolEntryWithoutToolsButton(), and testDouplicateIdToolEntry().
MainBarTest::setUp | ( | ) |
Reimplemented from ILIAS_UI_TestBase.
Definition at line 41 of file MainBarTest.php.
References mainbar().
MainBarTest::testActive | ( | C\MainControls\MainBar | $mb | ) |
@depends testAddEntry
Definition at line 163 of file MainBarTest.php.
MainBarTest::testAddEntry | ( | ) |
Definition at line 95 of file MainBarTest.php.
References getButton(), getLink(), and mainbar().
MainBarTest::testAddToolEntry | ( | ) |
Definition at line 139 of file MainBarTest.php.
References getButton(), getSlate(), and mainbar().
MainBarTest::testAddToolEntryWithoutToolsButton | ( | ) |
Definition at line 133 of file MainBarTest.php.
References getSlate(), and mainbar().
MainBarTest::testConstruction | ( | ) |
Definition at line 62 of file MainBarTest.php.
References mainbar().
MainBarTest::testDisallowedEntry | ( | ) |
Definition at line 112 of file MainBarTest.php.
References mainbar().
MainBarTest::testDisallowedToolEntry | ( | ) |
Definition at line 127 of file MainBarTest.php.
References mainbar().
MainBarTest::testDouplicateIdEntry | ( | ) |
Definition at line 118 of file MainBarTest.php.
References getButton(), and mainbar().
MainBarTest::testDouplicateIdToolEntry | ( | ) |
Definition at line 149 of file MainBarTest.php.
References getButton(), getSlate(), and mainbar().
MainBarTest::testRendering | ( | ) |
Definition at line 225 of file MainBarTest.php.
References ILIAS_UI_TestBase\brutallyTrimHTML(), close(), getButton(), and ILIAS_UI_TestBase\getDefaultRenderer().
MainBarTest::testSignalsPresent | ( | ) |
Definition at line 175 of file MainBarTest.php.
References mainbar().
MainBarTest::testWithInvalidActive | ( | ) |
Definition at line 169 of file MainBarTest.php.
References mainbar().
|
protected |
Definition at line 23 of file MainBarTest.php.
|
protected |
Definition at line 35 of file MainBarTest.php.
|
protected |
Definition at line 31 of file MainBarTest.php.
|
protected |
Definition at line 27 of file MainBarTest.php.
|
protected |
Definition at line 39 of file MainBarTest.php.