ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Tests for the Main Bar. More...
Public Member Functions | |
setUp () | |
testConstruction () | |
testAddEntry () | |
testDisallowedEntry () | |
testDouplicateIdEntry () | |
testDisallowedToolEntry () | |
testAddToolEntryWithoutToolsButton () | |
testAddToolEntry () | |
testDouplicateIdToolEntry () | |
testActive ($mb) | |
@depends testAddEntry More... | |
testWithInvalidActive () | |
testSignalsPresent () | |
getUIFactory () | |
brutallyTrimHTML ($html) | |
A more radical version of normalizeHTML. More... | |
testRendering () | |
![]() | |
setUp () | |
tearDown () | |
getUIFactory () | |
getTemplateFactory () | |
getResourceRegistry () | |
getLanguage () | |
getJavaScriptBinding () | |
getRefinery () | |
getDefaultRenderer (JavaScriptBinding $js_binding=null) | |
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... | |
Tests for the Main Bar.
Definition at line 16 of file MainBarTest.php.
MainBarTest::brutallyTrimHTML | ( | $html | ) |
A more radical version of normalizeHTML.
Use if hard to tackle issues occur by asserting due string outputs produce an equal DOM
$html |
Reimplemented from ILIAS_UI_TestBase.
Definition at line 196 of file MainBarTest.php.
Referenced by testRendering().
|
protected |
Definition at line 47 of file MainBarTest.php.
Referenced by testAddEntry(), testAddToolEntry(), testDouplicateIdEntry(), testDouplicateIdToolEntry(), and testRendering().
|
protected |
Definition at line 53 of file MainBarTest.php.
Referenced by testAddEntry().
|
protected |
Definition at line 60 of file MainBarTest.php.
Referenced by testAddToolEntry(), testAddToolEntryWithoutToolsButton(), and testDouplicateIdToolEntry().
MainBarTest::getUIFactory | ( | ) |
Reimplemented from ILIAS_UI_TestBase.
Definition at line 159 of file MainBarTest.php.
References $factory, and legacy().
MainBarTest::setUp | ( | ) |
Reimplemented from ILIAS_UI_TestBase.
Definition at line 18 of file MainBarTest.php.
References mainbar().
MainBarTest::testActive | ( | $mb | ) |
@depends testAddEntry
Definition at line 138 of file MainBarTest.php.
MainBarTest::testAddEntry | ( | ) |
Definition at line 71 of file MainBarTest.php.
References getButton(), getLink(), and mainbar().
MainBarTest::testAddToolEntry | ( | ) |
Definition at line 115 of file MainBarTest.php.
References getButton(), getSlate(), and mainbar().
MainBarTest::testAddToolEntryWithoutToolsButton | ( | ) |
Definition at line 109 of file MainBarTest.php.
References getSlate(), and mainbar().
MainBarTest::testConstruction | ( | ) |
Definition at line 39 of file MainBarTest.php.
References mainbar().
MainBarTest::testDisallowedEntry | ( | ) |
Definition at line 88 of file MainBarTest.php.
References mainbar().
MainBarTest::testDisallowedToolEntry | ( | ) |
Definition at line 103 of file MainBarTest.php.
References mainbar().
MainBarTest::testDouplicateIdEntry | ( | ) |
Definition at line 94 of file MainBarTest.php.
References getButton(), and mainbar().
MainBarTest::testDouplicateIdToolEntry | ( | ) |
Definition at line 125 of file MainBarTest.php.
References getButton(), getSlate(), and mainbar().
MainBarTest::testRendering | ( | ) |
Definition at line 204 of file MainBarTest.php.
References brutallyTrimHTML(), close(), getButton(), ILIAS_UI_TestBase\getDefaultRenderer(), and more().
MainBarTest::testSignalsPresent | ( | ) |
Definition at line 151 of file MainBarTest.php.
References mainbar().
MainBarTest::testWithInvalidActive | ( | ) |
Definition at line 144 of file MainBarTest.php.
References mainbar().