[richfaces-svn-commits] JBoss Rich Faces SVN: r265 - trunk/richfaces/tree/src/test/java/org/richfaces/component.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Wed Apr 4 07:57:58 EDT 2007
Author: nbelaevski
Date: 2007-04-04 07:57:57 -0400 (Wed, 04 Apr 2007)
New Revision: 265
Modified:
trunk/richfaces/tree/src/test/java/org/richfaces/component/JSFComponentTest.java
Log:
MockViewHandler moved to superclass
Modified: trunk/richfaces/tree/src/test/java/org/richfaces/component/JSFComponentTest.java
===================================================================
--- trunk/richfaces/tree/src/test/java/org/richfaces/component/JSFComponentTest.java 2007-04-04 10:41:04 UTC (rev 264)
+++ trunk/richfaces/tree/src/test/java/org/richfaces/component/JSFComponentTest.java 2007-04-04 11:57:57 UTC (rev 265)
@@ -87,32 +87,6 @@
form.getChildren().add(command);
- application.setViewHandler(new ViewHandlerWrapper(application.getViewHandler()) {
- public void writeState(FacesContext context) throws IOException {
- //System.out.println(".writeState()");
- }
-
- public String getResourceURL(FacesContext context, String url) {
- // TODO Auto-generated method stub
- return url;
- }
-
- public String getActionURL(FacesContext context, String url) {
- // TODO Auto-generated method stub
- return url;
- }
-
- public UIViewRoot restoreView(FacesContext context, String viewId) {
- // TODO Auto-generated method stub
- return super.restoreView(context, viewId);
- }
-
- public UIViewRoot createView(FacesContext context, String viewId) {
- // TODO Auto-generated method stub
- return super.createView(context, viewId);
- }
- });
-
tree = application.createComponent(UITree.COMPONENT_TYPE);
((UITree) tree).setValue(
More information about the richfaces-svn-commits
mailing list