[richfaces-svn-commits] JBoss Rich Faces SVN: r276 - trunk/richfaces/datascroller/src/test/java/org/richfaces/component.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Thu Apr 5 05:20:44 EDT 2007
Author: A.Skokov
Date: 2007-04-05 05:20:44 -0400 (Thu, 05 Apr 2007)
New Revision: 276
Modified:
trunk/richfaces/datascroller/src/test/java/org/richfaces/component/DatascrollerComponentTest.java
Log:
test updated
Modified: trunk/richfaces/datascroller/src/test/java/org/richfaces/component/DatascrollerComponentTest.java
===================================================================
--- trunk/richfaces/datascroller/src/test/java/org/richfaces/component/DatascrollerComponentTest.java 2007-04-04 19:31:52 UTC (rev 275)
+++ trunk/richfaces/datascroller/src/test/java/org/richfaces/component/DatascrollerComponentTest.java 2007-04-05 09:20:44 UTC (rev 276)
@@ -95,6 +95,20 @@
}
/**
+ * Test component default values
+ *
+ * @throws Exception
+ */
+ public void testDefaultValues() throws Exception {
+ assertEquals(0, scroller.getFastStep());
+ assertEquals(10, scroller.getMaxPages());
+ assertEquals(true, scroller.isRenderIfSinglePage());
+ assertEquals(true, scroller.isIgnoreDupResponses());
+ assertEquals(true, scroller.isAjaxSingle());
+ assertEquals(true, scroller.isRenderCurrentAsText());
+ }
+
+ /**
* Test component rendering
*
* @throws Exception
More information about the richfaces-svn-commits
mailing list