Author: nbelaevski
Date: 2008-05-23 08:55:24 -0400 (Fri, 23 May 2008)
New Revision: 8721
Modified:
trunk/ui/tree/src/test/java/org/richfaces/component/TreeComponentTest.java
Log:
http://jira.jboss.com/jira/browse/RF-3483
Modified: trunk/ui/tree/src/test/java/org/richfaces/component/TreeComponentTest.java
===================================================================
--- trunk/ui/tree/src/test/java/org/richfaces/component/TreeComponentTest.java 2008-05-23
12:30:13 UTC (rev 8720)
+++ trunk/ui/tree/src/test/java/org/richfaces/component/TreeComponentTest.java 2008-05-23
12:55:24 UTC (rev 8721)
@@ -56,6 +56,7 @@
import org.richfaces.event.NodeExpandedListener;
import org.richfaces.event.NodeSelectedEvent;
import org.richfaces.event.NodeSelectedListener;
+import org.richfaces.model.ListRowKey;
import org.xml.sax.InputSource;
import com.gargoylesoftware.htmlunit.Page;
@@ -595,7 +596,7 @@
defaultFacet.getChildren().add(input1);
tree.setNodeFace("node");
-
+ tree.setRowKey(new ListRowKey("testId"));
Iterator dataChildren = tree.dataChildren();
assertTrue(dataChildren.hasNext());
assertSame(treeNode, dataChildren.next());