|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Tests for the Main Bar. More...
Inheritance diagram for MainBarTest:
Collaboration diagram for MainBarTest: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 () | |
Public Member Functions inherited from ILIAS_UI_TestBase | |
| 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().
Here is the caller graph for this function:
|
protected |
Definition at line 47 of file MainBarTest.php.
Referenced by testAddEntry(), testAddToolEntry(), testDouplicateIdEntry(), testDouplicateIdToolEntry(), and testRendering().
Here is the caller graph for this function:
|
protected |
Definition at line 53 of file MainBarTest.php.
Referenced by testAddEntry().
Here is the caller graph for this function:
|
protected |
Definition at line 60 of file MainBarTest.php.
Referenced by testAddToolEntry(), testAddToolEntryWithoutToolsButton(), and testDouplicateIdToolEntry().
Here is the caller graph for this function:| MainBarTest::getUIFactory | ( | ) |
Reimplemented from ILIAS_UI_TestBase.
Definition at line 159 of file MainBarTest.php.
References $factory, and legacy().
Here is the call graph for this function:| MainBarTest::setUp | ( | ) |
Reimplemented from ILIAS_UI_TestBase.
Definition at line 18 of file MainBarTest.php.
References mainbar().
Here is the call graph for this function:| 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().
Here is the call graph for this function:| MainBarTest::testAddToolEntry | ( | ) |
Definition at line 115 of file MainBarTest.php.
References getButton(), getSlate(), and mainbar().
Here is the call graph for this function:| MainBarTest::testAddToolEntryWithoutToolsButton | ( | ) |
Definition at line 109 of file MainBarTest.php.
References getSlate(), and mainbar().
Here is the call graph for this function:| MainBarTest::testConstruction | ( | ) |
Definition at line 39 of file MainBarTest.php.
References mainbar().
Here is the call graph for this function:| MainBarTest::testDisallowedEntry | ( | ) |
Definition at line 88 of file MainBarTest.php.
References mainbar().
Here is the call graph for this function:| MainBarTest::testDisallowedToolEntry | ( | ) |
Definition at line 103 of file MainBarTest.php.
References mainbar().
Here is the call graph for this function:| MainBarTest::testDouplicateIdEntry | ( | ) |
Definition at line 94 of file MainBarTest.php.
References getButton(), and mainbar().
Here is the call graph for this function:| MainBarTest::testDouplicateIdToolEntry | ( | ) |
Definition at line 125 of file MainBarTest.php.
References getButton(), getSlate(), and mainbar().
Here is the call graph for this function:| MainBarTest::testRendering | ( | ) |
Definition at line 204 of file MainBarTest.php.
References brutallyTrimHTML(), close(), getButton(), ILIAS_UI_TestBase\getDefaultRenderer(), and more().
Here is the call graph for this function:| MainBarTest::testSignalsPresent | ( | ) |
Definition at line 151 of file MainBarTest.php.
References mainbar().
Here is the call graph for this function:| MainBarTest::testWithInvalidActive | ( | ) |
Definition at line 144 of file MainBarTest.php.
References mainbar().
Here is the call graph for this function: