|
ILIAS
release_8 Revision v8.24
|
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 () | |
| getUIFactory () | |
| testRendering () | |
Public Member Functions inherited from ILIAS_UI_TestBase | |
| 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 | |
| getButton () | |
| getLink () | |
| getSlate () | |
Protected Member Functions inherited from ILIAS_UI_TestBase | |
| 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... | |
Protected Attributes | |
| I Button Factory | $button_factory |
| I Link Factory | $link_factory |
| I Symbol Icon Factory | $icon_factory |
| I MainControls Factory | $factory |
| C MainControls MainBar | $mainbar |
Tests for the Main Bar.
Definition at line 34 of file MainBarTest.php.
|
protected |
Definition at line 71 of file MainBarTest.php.
Referenced by testAddEntry(), testAddToolEntry(), testDouplicateIdEntry(), testDouplicateIdToolEntry(), and testRendering().
Here is the caller graph for this function:
|
protected |
Definition at line 77 of file MainBarTest.php.
Referenced by testAddEntry().
Here is the caller graph for this function:
|
protected |
Definition at line 87 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 184 of file MainBarTest.php.
References $button_factory, $factory, and ILIAS\UI\examples\MainControls\Slate\Legacy\legacy().
Here is the call graph for this function:| MainBarTest::setUp | ( | ) |
Reimplemented from ILIAS_UI_TestBase.
Definition at line 42 of file MainBarTest.php.
References ILIAS\UI\examples\MainControls\MainBar\mainbar().
Here is the call graph for this function:| MainBarTest::testActive | ( | C\MainControls\MainBar | $mb | ) |
@depends testAddEntry
Definition at line 164 of file MainBarTest.php.
| MainBarTest::testAddEntry | ( | ) |
Definition at line 96 of file MainBarTest.php.
References getButton(), getLink(), and ILIAS\UI\examples\MainControls\MainBar\mainbar().
Here is the call graph for this function:| MainBarTest::testAddToolEntry | ( | ) |
Definition at line 140 of file MainBarTest.php.
References getButton(), getSlate(), and ILIAS\UI\examples\MainControls\MainBar\mainbar().
Here is the call graph for this function:| MainBarTest::testAddToolEntryWithoutToolsButton | ( | ) |
Definition at line 134 of file MainBarTest.php.
References getSlate(), and ILIAS\UI\examples\MainControls\MainBar\mainbar().
Here is the call graph for this function:| MainBarTest::testConstruction | ( | ) |
Definition at line 63 of file MainBarTest.php.
References ILIAS\UI\examples\MainControls\MainBar\mainbar().
Here is the call graph for this function:| MainBarTest::testDisallowedEntry | ( | ) |
Definition at line 113 of file MainBarTest.php.
References ILIAS\UI\examples\MainControls\MainBar\mainbar().
Here is the call graph for this function:| MainBarTest::testDisallowedToolEntry | ( | ) |
Definition at line 128 of file MainBarTest.php.
References ILIAS\UI\examples\MainControls\MainBar\mainbar().
Here is the call graph for this function:| MainBarTest::testDouplicateIdEntry | ( | ) |
Definition at line 119 of file MainBarTest.php.
References getButton(), and ILIAS\UI\examples\MainControls\MainBar\mainbar().
Here is the call graph for this function:| MainBarTest::testDouplicateIdToolEntry | ( | ) |
Definition at line 150 of file MainBarTest.php.
References getButton(), getSlate(), and ILIAS\UI\examples\MainControls\MainBar\mainbar().
Here is the call graph for this function:| MainBarTest::testRendering | ( | ) |
Definition at line 223 of file MainBarTest.php.
References ILIAS_UI_TestBase\brutallyTrimHTML(), ILIAS\UI\examples\Symbol\Glyph\Close\close(), getButton(), and ILIAS_UI_TestBase\getDefaultRenderer().
Here is the call graph for this function:| MainBarTest::testSignalsPresent | ( | ) |
Definition at line 176 of file MainBarTest.php.
References ILIAS\UI\examples\MainControls\MainBar\mainbar().
Here is the call graph for this function:| MainBarTest::testWithInvalidActive | ( | ) |
Definition at line 170 of file MainBarTest.php.
References ILIAS\UI\examples\MainControls\MainBar\mainbar().
Here is the call graph for this function:
|
protected |
Definition at line 36 of file MainBarTest.php.
Referenced by getUIFactory().
|
protected |
Definition at line 39 of file MainBarTest.php.
Referenced by getUIFactory().
|
protected |
Definition at line 38 of file MainBarTest.php.
Definition at line 37 of file MainBarTest.php.
|
protected |
Definition at line 40 of file MainBarTest.php.