Author: akushunin
Date: 2007-10-25 10:07:36 -0400 (Thu, 25 Oct 2007)
New Revision: 3538
Modified:
trunk/ui/togglePanel/src/test/java/org/richfaces/component/TogglePanelComponentTest.java
Log:
RF-1240
Modified:
trunk/ui/togglePanel/src/test/java/org/richfaces/component/TogglePanelComponentTest.java
===================================================================
---
trunk/ui/togglePanel/src/test/java/org/richfaces/component/TogglePanelComponentTest.java 2007-10-25
13:44:00 UTC (rev 3537)
+++
trunk/ui/togglePanel/src/test/java/org/richfaces/component/TogglePanelComponentTest.java 2007-10-25
14:07:36 UTC (rev 3538)
@@ -145,6 +145,8 @@
HtmlElement div = page.getHtmlElementById(togglePanel
.getClientId(facesContext));
+ String classAttr0 = div.getAttributeValue("class");
+ assertTrue(classAttr0.contains("rich-toggle-panel"));
assertNotNull(div);
assertEquals("div", div.getNodeName());
@@ -232,7 +234,8 @@
togglePanel.broadcast(new SwitchablePanelSwitchEvent(togglePanel,
"null", toggleControl));
assertTrue(((String) togglePanel.getValue()).equals("c"));
-
+
+ togglePanel.setStateOrder("");
toggleControl.setSwitchToState("d");
try {
togglePanel.broadcast(new SwitchablePanelSwitchEvent(togglePanel,
Show replies by date