|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
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 (C\MainControls\MainBar $mb) | |
| @depends testAddEntry More... | |
| testWithInvalidActive () | |
| testSignalsPresent () | |
| testRendering () | |
Public Member Functions inherited from ILIAS_UI_TestBase | |
| 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 () | |
Protected Member Functions inherited from ILIAS_UI_TestBase | |
| 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().
Here is the caller graph for this function:
|
protected |
Definition at line 76 of file MainBarTest.php.
Referenced by testAddEntry().
Here is the caller graph for this function:
|
protected |
Definition at line 86 of file MainBarTest.php.
Referenced by testAddToolEntry(), testAddToolEntryWithoutToolsButton(), and testDouplicateIdToolEntry().
Here is the caller graph for this function:| MainBarTest::setUp | ( | ) |
Reimplemented from ILIAS_UI_TestBase.
Definition at line 41 of file MainBarTest.php.
References mainbar().
Here is the call graph for this function:| 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().
Here is the call graph for this function:| MainBarTest::testAddToolEntry | ( | ) |
Definition at line 139 of file MainBarTest.php.
References getButton(), getSlate(), and mainbar().
Here is the call graph for this function:| MainBarTest::testAddToolEntryWithoutToolsButton | ( | ) |
Definition at line 133 of file MainBarTest.php.
References getSlate(), and mainbar().
Here is the call graph for this function:| MainBarTest::testConstruction | ( | ) |
Definition at line 62 of file MainBarTest.php.
References mainbar().
Here is the call graph for this function:| MainBarTest::testDisallowedEntry | ( | ) |
Definition at line 112 of file MainBarTest.php.
References mainbar().
Here is the call graph for this function:| MainBarTest::testDisallowedToolEntry | ( | ) |
Definition at line 127 of file MainBarTest.php.
References mainbar().
Here is the call graph for this function:| MainBarTest::testDouplicateIdEntry | ( | ) |
Definition at line 118 of file MainBarTest.php.
References getButton(), and mainbar().
Here is the call graph for this function:| MainBarTest::testDouplicateIdToolEntry | ( | ) |
Definition at line 149 of file MainBarTest.php.
References getButton(), getSlate(), and mainbar().
Here is the call graph for this function:| MainBarTest::testRendering | ( | ) |
Definition at line 225 of file MainBarTest.php.
References ILIAS_UI_TestBase\brutallyTrimHTML(), close(), getButton(), and ILIAS_UI_TestBase\getDefaultRenderer().
Here is the call graph for this function:| MainBarTest::testSignalsPresent | ( | ) |
Definition at line 175 of file MainBarTest.php.
References mainbar().
Here is the call graph for this function:| MainBarTest::testWithInvalidActive | ( | ) |
Definition at line 169 of file MainBarTest.php.
References mainbar().
Here is the call graph for this function:
|
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.