|
ILIAS
release_8 Revision v8.24
|
Tests for the Meta Bar. More...
Inheritance diagram for MetaBarTest:
Collaboration diagram for MetaBarTest:Public Member Functions | |
| setUp () | |
| testConstruction () | |
| testAddEntry () | |
| testDisallowedEntry () | |
| testSignalsPresent () | |
| getUIFactory () | |
| brutallyTrimHTML (string $html) | |
| A more radical version of normalizeHTML. More... | |
| testRendering () | |
| testAcceptsBulkyLinkAsEntry () | |
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 () | |
| 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 Component Button Factory | $button_factory |
| I Component Symbol Icon Factory | $icon_factory |
| I Component Counter Factory | $counter_factory |
| I Component MainControls Factory | $factory |
| C MainControls MetaBar | $metabar |
Tests for the Meta Bar.
Definition at line 33 of file MetaBarTest.php.
| MetaBarTest::brutallyTrimHTML | ( | string | $html | ) |
A more radical version of normalizeHTML.
Use if hard to tackle issues occur by asserting due string outputs produce an equal DOM
Reimplemented from ILIAS_UI_TestBase.
Definition at line 145 of file MetaBarTest.php.
Referenced by testRendering().
Here is the caller graph for this function:
|
protected |
Definition at line 70 of file MetaBarTest.php.
Referenced by testAddEntry(), and testRendering().
Here is the caller graph for this function:
|
protected |
Definition at line 79 of file MetaBarTest.php.
Referenced by testAddEntry().
Here is the caller graph for this function:| MetaBarTest::getUIFactory | ( | ) |
Reimplemented from ILIAS_UI_TestBase.
Definition at line 111 of file MetaBarTest.php.
References $button_factory, $counter_factory, and $factory.
| MetaBarTest::setUp | ( | ) |
Reimplemented from ILIAS_UI_TestBase.
Definition at line 41 of file MetaBarTest.php.
| MetaBarTest::testAcceptsBulkyLinkAsEntry | ( | ) |
Definition at line 202 of file MetaBarTest.php.
References ILIAS_UI_TestBase\getDefaultRenderer().
Here is the call graph for this function:| MetaBarTest::testAddEntry | ( | ) |
Definition at line 88 of file MetaBarTest.php.
References getButton(), and getSlate().
Here is the call graph for this function:| MetaBarTest::testConstruction | ( | ) |
Definition at line 62 of file MetaBarTest.php.
| MetaBarTest::testDisallowedEntry | ( | ) |
Definition at line 100 of file MetaBarTest.php.
| MetaBarTest::testRendering | ( | ) |
Definition at line 154 of file MetaBarTest.php.
References brutallyTrimHTML(), getButton(), and ILIAS_UI_TestBase\getDefaultRenderer().
Here is the call graph for this function:| MetaBarTest::testSignalsPresent | ( | ) |
Definition at line 106 of file MetaBarTest.php.
|
protected |
Definition at line 35 of file MetaBarTest.php.
Referenced by getUIFactory().
|
protected |
Definition at line 37 of file MetaBarTest.php.
Referenced by getUIFactory().
|
protected |
Definition at line 38 of file MetaBarTest.php.
Referenced by getUIFactory().
|
protected |
Definition at line 36 of file MetaBarTest.php.
|
protected |
Definition at line 39 of file MetaBarTest.php.