[richfaces-svn-commits] JBoss Rich Faces SVN: r9109 - in trunk/framework/test/src/test/java/org/richfaces: util and 1 other directory.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Thu Jun 19 09:10:32 EDT 2008
Author: konstantin.mishin
Date: 2008-06-19 09:10:32 -0400 (Thu, 19 Jun 2008)
New Revision: 9109
Added:
trunk/framework/test/src/test/java/org/richfaces/util/
trunk/framework/test/src/test/java/org/richfaces/util/ComponentPhaseEventHandlerUtilsTest.java
Log:
RF-2815
Added: trunk/framework/test/src/test/java/org/richfaces/util/ComponentPhaseEventHandlerUtilsTest.java
===================================================================
--- trunk/framework/test/src/test/java/org/richfaces/util/ComponentPhaseEventHandlerUtilsTest.java (rev 0)
+++ trunk/framework/test/src/test/java/org/richfaces/util/ComponentPhaseEventHandlerUtilsTest.java 2008-06-19 13:10:32 UTC (rev 9109)
@@ -0,0 +1,24 @@
+/**
+ *
+ */
+package org.richfaces.util;
+
+import org.apache.shale.test.base.AbstractJsfTestCase;
+import org.richfaces.event.ComponentPhaseEventHandler;
+
+public class ComponentPhaseEventHandlerUtilsTest extends AbstractJsfTestCase {
+
+ public ComponentPhaseEventHandlerUtilsTest(String name) {
+ super(name);
+ }
+
+ /**
+ * Test method for {@link org.richfaces.util.ComponentPhaseEventHandlerUtils#getHandlers()}.
+ */
+ public void testGetHandlers() {
+ ComponentPhaseEventHandler[] handlers = ComponentPhaseEventHandlerUtils.getHandlers();
+ assertNotNull(handlers);
+ assertTrue(handlers.length > 0);
+ }
+
+}
More information about the richfaces-svn-commits
mailing list