|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
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) | |
| testConstructionWithIconAndDifferentLabels More... | |
| testGetLabel (C\Tree\Node\Simple $node) | |
| testConstructionWithIcon More... | |
| testGetIcon (C\Tree\Node\Simple $node) | |
| testConstructionWithIcon More... | |
| testDefaultAsyncLoading (C\Tree\Node\Simple $node) | |
| testConstruction More... | |
| testWithAsyncURL (C\Tree\Node\Simple $node) | |
| testConstruction More... | |
| testRendering (C\Tree\Node\Simple $node) | |
| testConstruction More... | |
| testRenderingWithAsync (C\Tree\Node\Simple $node) | |
| testWithAsyncURL More... | |
| testRenderingWithIcon (C\Tree\Node\Simple $node) | |
| testConstructionWithIcon More... | |
| 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 | ) |
testConstruction
Definition at line 113 of file SimpleNodeTest.php.
| SimpleNodeTest::testGetDifferentLabels | ( | C\Tree\Node\Simple | $node | ) |
testConstructionWithIconAndDifferentLabels
Definition at line 88 of file SimpleNodeTest.php.
| SimpleNodeTest::testGetIcon | ( | C\Tree\Node\Simple | $node | ) |
testConstructionWithIcon
Definition at line 104 of file SimpleNodeTest.php.
| SimpleNodeTest::testGetLabel | ( | C\Tree\Node\Simple | $node | ) |
testConstructionWithIcon
Definition at line 96 of file SimpleNodeTest.php.
| SimpleNodeTest::testRendering | ( | C\Tree\Node\Simple | $node | ) |
testConstruction
Definition at line 133 of file SimpleNodeTest.php.
References $r, brutallyTrimHTML(), and ILIAS\UI\examples\MainControls\SystemInfo\simple().
Here is the call graph for this function:| SimpleNodeTest::testRenderingWithAsync | ( | C\Tree\Node\Simple | $node | ) |
testWithAsyncURL
Definition at line 155 of file SimpleNodeTest.php.
References $r, brutallyTrimHTML(), and ILIAS\UI\examples\MainControls\SystemInfo\simple().
Here is the call graph for this function:| SimpleNodeTest::testRenderingWithIcon | ( | C\Tree\Node\Simple | $node | ) |
testConstructionWithIcon
Definition at line 180 of file SimpleNodeTest.php.
References $r, and 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).
testConstructionWithIconAndDifferentLabels
Definition at line 208 of file SimpleNodeTest.php.
References $r, and brutallyTrimHTML().
Here is the call graph for this function:| SimpleNodeTest::testWithAsyncURL | ( | C\Tree\Node\Simple | $node | ) |
| 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.