Author: nbelaevski
Date: 2008-03-26 13:09:56 -0400 (Wed, 26 Mar 2008)
New Revision: 7268
Modified:
trunk/ui/treeModel/src/test/java/org/richfaces/component/TreeModelComponentTest.java
Log:
TreeModel test fixed
Modified:
trunk/ui/treeModel/src/test/java/org/richfaces/component/TreeModelComponentTest.java
===================================================================
---
trunk/ui/treeModel/src/test/java/org/richfaces/component/TreeModelComponentTest.java 2008-03-26
16:50:25 UTC (rev 7267)
+++
trunk/ui/treeModel/src/test/java/org/richfaces/component/TreeModelComponentTest.java 2008-03-26
17:09:56 UTC (rev 7268)
@@ -201,7 +201,7 @@
assertTrue(handleCell.getAttributeValue("class").contains("dr-tree-h-ic-line-node"));
}
- HtmlElement handleElement = (HtmlElement)
handleCell.getFirstChild().getFirstChild().getNextSibling();
+ HtmlElement handleElement = (HtmlElement) handleCell.getFirstChild().getFirstChild();
String handleId = handleElement.getAttributeValue("id");
if (element.getChildNodes().getLength() == 0) {
Show replies by date