You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by im...@apache.org on 2006/05/09 14:52:06 UTC
svn commit: r405413 -
/myfaces/tomahawk/trunk/core/src/test/java/org/apache/myfaces/custom/tree2/UITreeDataTest.java
Author: imario
Date: Tue May 9 05:52:04 2006
New Revision: 405413
URL: http://svn.apache.org/viewcvs?rev=405413&view=rev
Log:
made compile-clean - used missing constant
Modified:
myfaces/tomahawk/trunk/core/src/test/java/org/apache/myfaces/custom/tree2/UITreeDataTest.java
Modified: myfaces/tomahawk/trunk/core/src/test/java/org/apache/myfaces/custom/tree2/UITreeDataTest.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/core/src/test/java/org/apache/myfaces/custom/tree2/UITreeDataTest.java?rev=405413&r1=405412&r2=405413&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core/src/test/java/org/apache/myfaces/custom/tree2/UITreeDataTest.java (original)
+++ myfaces/tomahawk/trunk/core/src/test/java/org/apache/myfaces/custom/tree2/UITreeDataTest.java Tue May 9 05:52:04 2006
@@ -57,7 +57,8 @@
*/
public void testNodeSelected() throws Exception
{
- tree.getAttributes().put(JSFAttr.CLIENT_SIDE_TOGGLE, Boolean.FALSE);
+ tree.setClientSideToggle(false);
+ // tree.getAttributes().put(JSFAttr.CLIENT_SIDE_TOGGLE, Boolean.FALSE);
ActionEvent event = new ActionEvent(new HtmlCommandLink());
@@ -67,7 +68,8 @@
assertTrue("Node 0:1:0 should be selected", tree.isNodeSelected());
- tree.getAttributes().put(JSFAttr.CLIENT_SIDE_TOGGLE, Boolean.TRUE);
+ tree.setClientSideToggle(true);
+ // tree.getAttributes().put(JSFAttr.CLIENT_SIDE_TOGGLE, Boolean.TRUE);
// set the node to be selected
tree.setNodeId("0:1:0");