cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blorit...@apache.org
Subject svn commit: r312786 - in /cocoon/whiteboard/crails/trunk: java/org/apache/cocoon/controller/BaseController.java test/org/apache/cocoon/controller/test/BaseControllerTest.java test/org/apache/cocoon/controller/test/test/
Date Tue, 11 Oct 2005 02:47:39 GMT
Author: bloritsch
Date: Mon Oct 10 19:47:33 2005
New Revision: 312786

URL: http://svn.apache.org/viewcvs?rev=312786&view=rev
Log:
implement missing method (was it new?)

Removed:
    cocoon/whiteboard/crails/trunk/test/org/apache/cocoon/controller/test/test/
Modified:
    cocoon/whiteboard/crails/trunk/java/org/apache/cocoon/controller/BaseController.java
    cocoon/whiteboard/crails/trunk/test/org/apache/cocoon/controller/test/BaseControllerTest.java

Modified: cocoon/whiteboard/crails/trunk/java/org/apache/cocoon/controller/BaseController.java
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/crails/trunk/java/org/apache/cocoon/controller/BaseController.java?rev=312786&r1=312785&r2=312786&view=diff
==============================================================================
--- cocoon/whiteboard/crails/trunk/java/org/apache/cocoon/controller/BaseController.java (original)
+++ cocoon/whiteboard/crails/trunk/java/org/apache/cocoon/controller/BaseController.java Mon
Oct 10 19:47:33 2005
@@ -4,46 +4,51 @@
 import org.apache.cocoon.Processor.InternalPipelineDescription;
 import org.apache.cocoon.environment.Environment;
 import org.apache.cocoon.environment.SourceResolver;
+import org.apache.avalon.framework.configuration.Configuration;
 
 public class BaseController implements Processor
 {
-	public boolean process(Environment environment) throws Exception {
-		// TODO Auto-generated method stub
-		return false;
-	}
-
-	public InternalPipelineDescription buildPipeline(Environment environment) throws Exception
{
-		// TODO Auto-generated method stub
-		return null;
-	}
-
-	public Processor getRootProcessor() {
-		// TODO Auto-generated method stub
-		return null;
-	}
-
-	public SourceResolver getSourceResolver() {
-		// TODO Auto-generated method stub
-		return null;
-	}
-
-	public String getContext() {
-		// TODO Auto-generated method stub
-		return null;
-	}
-
-	public void setAttribute(String name, Object value) {
-		// TODO Auto-generated method stub
-		
-	}
-
-	public Object getAttribute(String name) {
-		// TODO Auto-generated method stub
-		return null;
-	}
-
-	public Object removeAttribute(String name) {
-		// TODO Auto-generated method stub
-		return null;
-	}
+    public boolean process(Environment environment) throws Exception {
+        // TODO Auto-generated method stub
+        return false;
+    }
+
+    public InternalPipelineDescription buildPipeline(Environment environment) throws Exception
{
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    public Configuration[] getComponentConfigurations() {
+        return new Configuration[0];  //To change body of implemented methods use File |
Settings | File Templates.
+    }
+
+    public Processor getRootProcessor() {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    public SourceResolver getSourceResolver() {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    public String getContext() {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    public void setAttribute(String name, Object value) {
+        // TODO Auto-generated method stub
+
+    }
+
+    public Object getAttribute(String name) {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    public Object removeAttribute(String name) {
+        // TODO Auto-generated method stub
+        return null;
+    }
 }

Modified: cocoon/whiteboard/crails/trunk/test/org/apache/cocoon/controller/test/BaseControllerTest.java
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/crails/trunk/test/org/apache/cocoon/controller/test/BaseControllerTest.java?rev=312786&r1=312785&r2=312786&view=diff
==============================================================================
--- cocoon/whiteboard/crails/trunk/test/org/apache/cocoon/controller/test/BaseControllerTest.java
(original)
+++ cocoon/whiteboard/crails/trunk/test/org/apache/cocoon/controller/test/BaseControllerTest.java
Mon Oct 10 19:47:33 2005
@@ -10,8 +10,8 @@
 		super(name);
 	}
 
-	public void testStart()
+	public void testCreate()
 	{
-		fail("not written");
+		assertNotNull(new BaseController());
 	}
 }



Mime
View raw message