[richfaces-svn-commits] JBoss Rich Faces SVN: r279 - trunk/richfaces/suggestionbox/src/test/java/org/richfaces/component.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Thu Apr 5 05:24:16 EDT 2007
Author: A.Skokov
Date: 2007-04-05 05:24:16 -0400 (Thu, 05 Apr 2007)
New Revision: 279
Modified:
trunk/richfaces/suggestionbox/src/test/java/org/richfaces/component/SuggestionBoxComponentTest.java
Log:
test updated
Modified: trunk/richfaces/suggestionbox/src/test/java/org/richfaces/component/SuggestionBoxComponentTest.java
===================================================================
--- trunk/richfaces/suggestionbox/src/test/java/org/richfaces/component/SuggestionBoxComponentTest.java 2007-04-05 09:23:20 UTC (rev 278)
+++ trunk/richfaces/suggestionbox/src/test/java/org/richfaces/component/SuggestionBoxComponentTest.java 2007-04-05 09:24:16 UTC (rev 279)
@@ -98,6 +98,20 @@
}
/**
+ * Test component default values
+ *
+ * @throws Exception
+ */
+ public void testDefaultValues() throws Exception {
+ assertEquals("200", sb.getWidth());
+ assertEquals("200", sb.getHeight());
+ assertEquals(true, sb.isAjaxSingle());
+ assertEquals("richfaces_suggestionEntry", sb.getEntryClass());
+ assertEquals("richfaces_suggestionSelectValue", sb.getSelectValueClass());
+ assertEquals("richfaces_suggestionSelectValue", sb.getSelectValueClass());
+ assertEquals("inputvalue", sb.getParam());
+ }
+ /**
* Test component rendering
*
* @throws Exception
More information about the richfaces-svn-commits
mailing list