[richfaces-svn-commits] JBoss Rich Faces SVN: r278 - trunk/richfaces/simpleTogglePanel/src/test/java/org/richfaces/component.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Thu Apr 5 05:23:21 EDT 2007
Author: A.Skokov
Date: 2007-04-05 05:23:20 -0400 (Thu, 05 Apr 2007)
New Revision: 278
Modified:
trunk/richfaces/simpleTogglePanel/src/test/java/org/richfaces/component/SimpleTogglePanelComponentTest.java
Log:
test updated
Modified: trunk/richfaces/simpleTogglePanel/src/test/java/org/richfaces/component/SimpleTogglePanelComponentTest.java
===================================================================
--- trunk/richfaces/simpleTogglePanel/src/test/java/org/richfaces/component/SimpleTogglePanelComponentTest.java 2007-04-05 09:21:38 UTC (rev 277)
+++ trunk/richfaces/simpleTogglePanel/src/test/java/org/richfaces/component/SimpleTogglePanelComponentTest.java 2007-04-05 09:23:20 UTC (rev 278)
@@ -40,7 +40,7 @@
* Unit test for SimpleTogglePanel component.
*/
public class SimpleTogglePanelComponentTest extends AbstractAjax4JsfTestCase {
-
+
private static Set javaScripts = new HashSet();
static {
@@ -90,6 +90,15 @@
}
/**
+ * Test component default values
+ *
+ * @throws Exception
+ */
+ public void testDefaultValues() throws Exception {
+ assertEquals("100%", ui.getWidth());
+ assertEquals(true, ui.isOpened());
+ }
+ /**
* Test component rendering
*
* @throws Exception
More information about the richfaces-svn-commits
mailing list