cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r510435 - /cocoon/trunk/blocks/cocoon-portal/cocoon-portal-impl/src/test/java/org/apache/cocoon/portal/AbstractPortalTestCase.java
Date Thu, 22 Feb 2007 07:48:01 GMT
Author: cziegeler
Date: Wed Feb 21 23:48:00 2007
New Revision: 510435

URL: http://svn.apache.org/viewvc?view=rev&rev=510435
Log:
Fix test case.

Modified:
    cocoon/trunk/blocks/cocoon-portal/cocoon-portal-impl/src/test/java/org/apache/cocoon/portal/AbstractPortalTestCase.java

Modified: cocoon/trunk/blocks/cocoon-portal/cocoon-portal-impl/src/test/java/org/apache/cocoon/portal/AbstractPortalTestCase.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-portal/cocoon-portal-impl/src/test/java/org/apache/cocoon/portal/AbstractPortalTestCase.java?view=diff&rev=510435&r1=510434&r2=510435
==============================================================================
--- cocoon/trunk/blocks/cocoon-portal/cocoon-portal-impl/src/test/java/org/apache/cocoon/portal/AbstractPortalTestCase.java
(original)
+++ cocoon/trunk/blocks/cocoon-portal/cocoon-portal-impl/src/test/java/org/apache/cocoon/portal/AbstractPortalTestCase.java
Wed Feb 21 23:48:00 2007
@@ -18,6 +18,7 @@
 
 import java.util.Collections;
 import java.util.Enumeration;
+import java.util.HashMap;
 
 import javax.servlet.ServletConfig;
 import javax.servlet.ServletContext;
@@ -29,6 +30,7 @@
 import org.apache.cocoon.core.container.spring.avalon.ConfigurationInfo;
 import org.apache.cocoon.environment.mock.MockContext;
 import org.apache.cocoon.portal.impl.PortalServiceImpl;
+import org.apache.cocoon.portal.layout.renderer.Renderer;
 import org.apache.cocoon.processing.ProcessInfoProvider;
 
 /**
@@ -81,6 +83,11 @@
         processInfoProvider.setComponentClassName(MockProcessInfoProvider.class.getName());
         processInfoProvider.setRole(ProcessInfoProvider.ROLE);
         info.addComponent(processInfoProvider);
+        // RendererMap
+        final ComponentInfo rendererMap = new ComponentInfo();
+        rendererMap.setComponentClassName(HashMap.class.getName());
+        rendererMap.setRole(Renderer.class.getName()+"Map");
+        info.addComponent(rendererMap);
         // Add portal service
         final ComponentInfo portalServiceInfo = new ComponentInfo();
         portalServiceInfo.setComponentClassName(PortalServiceImpl.class.getName());



Mime
View raw message