|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Tests for the SimpleNode. More...
Inheritance diagram for SimpleNodeTest:
Collaboration diagram for SimpleNodeTest:Public Member Functions | |
| setUp () | |
| brutallyTrimHTML (string $html) | |
| testConstruction () | |
| testWrongConstruction () | |
| testConstructionWithIcon () | |
| testConstructionWithIconAndDifferentLabels () | |
| testGetDifferentLabels (C\Tree\Node\Simple $node) | |
| testGetLabel (C\Tree\Node\Simple $node) | |
| testGetIcon (C\Tree\Node\Simple $node) | |
| testDefaultAsyncLoading (C\Tree\Node\Simple $node) | |
| testWithAsyncURL (C\Tree\Node\Simple $node) | |
| testRendering (C\Tree\Node\Simple $node) | |
| testRenderingWithAsync (C\Tree\Node\Simple $node) | |
| testRenderingWithIcon (C\Tree\Node\Simple $node) | |
| testRenderingWithIconAndAltAttribute (C\Tree\Node\Simple $node) | |
| This test is successfull if the icon label differs from the node label. More... | |
Private Attributes | |
| I Tree Node Factory | $node_factory |
| C Symbol Icon Standard | $icon |
Tests for the SimpleNode.
Definition at line 30 of file SimpleNodeTest.php.
| SimpleNodeTest::brutallyTrimHTML | ( | string | $html | ) |
Definition at line 42 of file SimpleNodeTest.php.
Referenced by testRendering(), testRenderingWithAsync(), testRenderingWithIcon(), and testRenderingWithIconAndAltAttribute().
Here is the caller graph for this function:| SimpleNodeTest::setUp | ( | ) |
Definition at line 35 of file SimpleNodeTest.php.
| SimpleNodeTest::testConstruction | ( | ) |
Definition at line 49 of file SimpleNodeTest.php.
| SimpleNodeTest::testConstructionWithIcon | ( | ) |
Definition at line 65 of file SimpleNodeTest.php.
| SimpleNodeTest::testConstructionWithIconAndDifferentLabels | ( | ) |
Definition at line 74 of file SimpleNodeTest.php.
| SimpleNodeTest::testDefaultAsyncLoading | ( | C\Tree\Node\Simple | $node | ) |
Definition at line 105 of file SimpleNodeTest.php.
| SimpleNodeTest::testGetDifferentLabels | ( | C\Tree\Node\Simple | $node | ) |
Definition at line 86 of file SimpleNodeTest.php.
| SimpleNodeTest::testGetIcon | ( | C\Tree\Node\Simple | $node | ) |
Definition at line 98 of file SimpleNodeTest.php.
| SimpleNodeTest::testGetLabel | ( | C\Tree\Node\Simple | $node | ) |
Definition at line 92 of file SimpleNodeTest.php.
| SimpleNodeTest::testRendering | ( | C\Tree\Node\Simple | $node | ) |
Definition at line 121 of file SimpleNodeTest.php.
References brutallyTrimHTML(), and ILIAS\UI\examples\MainControls\SystemInfo\simple().
Here is the call graph for this function:| SimpleNodeTest::testRenderingWithAsync | ( | C\Tree\Node\Simple | $node | ) |
Definition at line 141 of file SimpleNodeTest.php.
References brutallyTrimHTML(), and ILIAS\UI\examples\MainControls\SystemInfo\simple().
Here is the call graph for this function:| SimpleNodeTest::testRenderingWithIcon | ( | C\Tree\Node\Simple | $node | ) |
Definition at line 164 of file SimpleNodeTest.php.
References brutallyTrimHTML().
Here is the call graph for this function:| SimpleNodeTest::testRenderingWithIconAndAltAttribute | ( | C\Tree\Node\Simple | $node | ) |
This test is successfull if the icon label differs from the node label.
As a result the alt attribute will get the icon's label as content. Else the alt attribute will be empty (see testRenderingWithIcon).
Definition at line 191 of file SimpleNodeTest.php.
References brutallyTrimHTML().
Here is the call graph for this function:| SimpleNodeTest::testWithAsyncURL | ( | C\Tree\Node\Simple | $node | ) |
Definition at line 111 of file SimpleNodeTest.php.
References $url.
| SimpleNodeTest::testWrongConstruction | ( | ) |
Definition at line 59 of file SimpleNodeTest.php.
|
private |
Definition at line 33 of file SimpleNodeTest.php.
|
private |
Definition at line 32 of file SimpleNodeTest.php.