|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Tests for the SimpleNode. More...
Inheritance diagram for SimpleNodeTest:
Collaboration diagram for SimpleNodeTest:Public Member Functions | |
| setUp () | |
| brutallyTrimHTML ($html) | |
| A more radical version of normalizeHTML. More... | |
| testConstruction () | |
| testWrongConstruction () | |
| testConstructionWithIcon () | |
| testGetLabel ($node) | |
| @depends testConstructionWithIcon More... | |
| testGetIcon ($node) | |
| @depends testConstructionWithIcon More... | |
| testDefaultAsyncLoading ($node) | |
| @depends testConstruction More... | |
| testWithAsyncURL ($node) | |
| @depends testConstruction More... | |
| testRendering ($node) | |
| @depends testConstruction More... | |
| testRenderingWithAsync ($node) | |
| @depends testWithAsyncURL More... | |
| testRenderingWithIcon ($node) | |
| @depends testConstructionWithIcon More... | |
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) | |
Additional Inherited Members | |
| brutallyTrimHTML ($html) | |
| A more radical version of normalizeHTML. More... | |
Tests for the SimpleNode.
Definition at line 14 of file SimpleNodeTest.php.
| SimpleNodeTest::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 23 of file SimpleNodeTest.php.
Referenced by testRendering(), testRenderingWithAsync(), and testRenderingWithIcon().
Here is the caller graph for this function:| SimpleNodeTest::setUp | ( | ) |
Reimplemented from ILIAS_UI_TestBase.
Definition at line 16 of file SimpleNodeTest.php.
| SimpleNodeTest::testConstruction | ( | ) |
Definition at line 30 of file SimpleNodeTest.php.
| SimpleNodeTest::testConstructionWithIcon | ( | ) |
Definition at line 46 of file SimpleNodeTest.php.
| SimpleNodeTest::testDefaultAsyncLoading | ( | $node | ) |
@depends testConstruction
Definition at line 82 of file SimpleNodeTest.php.
| SimpleNodeTest::testGetIcon | ( | $node | ) |
@depends testConstructionWithIcon
Definition at line 70 of file SimpleNodeTest.php.
| SimpleNodeTest::testGetLabel | ( | $node | ) |
@depends testConstructionWithIcon
Definition at line 59 of file SimpleNodeTest.php.
| SimpleNodeTest::testRendering | ( | $node | ) |
@depends testConstruction
Definition at line 109 of file SimpleNodeTest.php.
References brutallyTrimHTML(), ILIAS_UI_TestBase\getDefaultRenderer(), and simple().
Here is the call graph for this function:| SimpleNodeTest::testRenderingWithAsync | ( | $node | ) |
@depends testWithAsyncURL
Definition at line 131 of file SimpleNodeTest.php.
References brutallyTrimHTML(), ILIAS_UI_TestBase\getDefaultRenderer(), and simple().
Here is the call graph for this function:| SimpleNodeTest::testRenderingWithIcon | ( | $node | ) |
@depends testConstructionWithIcon
Definition at line 157 of file SimpleNodeTest.php.
References brutallyTrimHTML(), and ILIAS_UI_TestBase\getDefaultRenderer().
Here is the call graph for this function:| SimpleNodeTest::testWithAsyncURL | ( | $node | ) |
@depends testConstruction
Definition at line 92 of file SimpleNodeTest.php.
References $url.
| SimpleNodeTest::testWrongConstruction | ( | ) |
Definition at line 40 of file SimpleNodeTest.php.