cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r390855 - in /cocoon/trunk/core/cocoon-core/src/test: java/org/apache/cocoon/CocoonTestCase.java java/org/apache/cocoon/SitemapComponentTestCase.java resources/org/apache/cocoon/transformation/XIncludeTransformerTestCase.xtest
Date Sun, 02 Apr 2006 16:51:22 GMT
Author: cziegeler
Date: Sun Apr  2 09:51:20 2006
New Revision: 390855

URL: http://svn.apache.org/viewcvs?rev=390855&view=rev
Log: (empty)

Modified:
    cocoon/trunk/core/cocoon-core/src/test/java/org/apache/cocoon/CocoonTestCase.java
    cocoon/trunk/core/cocoon-core/src/test/java/org/apache/cocoon/SitemapComponentTestCase.java
    cocoon/trunk/core/cocoon-core/src/test/resources/org/apache/cocoon/transformation/XIncludeTransformerTestCase.xtest

Modified: cocoon/trunk/core/cocoon-core/src/test/java/org/apache/cocoon/CocoonTestCase.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/core/cocoon-core/src/test/java/org/apache/cocoon/CocoonTestCase.java?rev=390855&r1=390854&r2=390855&view=diff
==============================================================================
--- cocoon/trunk/core/cocoon-core/src/test/java/org/apache/cocoon/CocoonTestCase.java (original)
+++ cocoon/trunk/core/cocoon-core/src/test/java/org/apache/cocoon/CocoonTestCase.java Sun
Apr  2 09:51:20 2006
@@ -16,6 +16,7 @@
 
 package org.apache.cocoon;
 
+import org.apache.avalon.framework.configuration.DefaultConfiguration;
 import org.apache.cocoon.core.container.ContainerTestCase;
 import org.apache.cocoon.core.container.spring.ComponentInfo;
 import org.apache.cocoon.core.container.spring.ConfigurationInfo;
@@ -44,12 +45,14 @@
             component = new ComponentInfo();
             component.setComponentClassName(ResourceSourceFactory.class.getName());
             component.setRole(SourceFactory.ROLE + "/resource");
+            component.setConfiguration(new DefaultConfiguration("-"));
             info.addComponent(component);
 
             // Add url source source factory
             component = new ComponentInfo();
             component.setComponentClassName(URLSourceFactory.class.getName());
             component.setRole(SourceFactory.ROLE + "/*");
+            component.setConfiguration(new DefaultConfiguration("-"));
             info.addComponent(component);
 
             // add source factory selector
@@ -59,12 +62,14 @@
             component.setRole(SourceFactory.ROLE + "Selector");
             component.setAlias("source-factories");
             component.setDefaultValue("*");
+            component.setConfiguration(new DefaultConfiguration("-"));
             info.addComponent(component);
         }
         if ( this.addSourceResolver() ) {
             ComponentInfo component = new ComponentInfo();
             component.setComponentClassName(SourceResolverImpl.class.getName());
             component.setRole(SourceResolver.ROLE);
+            component.setConfiguration(new DefaultConfiguration("-"));
             info.addComponent(component);
         }
     }

Modified: cocoon/trunk/core/cocoon-core/src/test/java/org/apache/cocoon/SitemapComponentTestCase.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/core/cocoon-core/src/test/java/org/apache/cocoon/SitemapComponentTestCase.java?rev=390855&r1=390854&r2=390855&view=diff
==============================================================================
--- cocoon/trunk/core/cocoon-core/src/test/java/org/apache/cocoon/SitemapComponentTestCase.java
(original)
+++ cocoon/trunk/core/cocoon-core/src/test/java/org/apache/cocoon/SitemapComponentTestCase.java
Sun Apr  2 09:51:20 2006
@@ -28,6 +28,7 @@
 import javax.xml.transform.dom.DOMSource;
 import javax.xml.transform.stream.StreamResult;
 
+import org.apache.avalon.framework.configuration.DefaultConfiguration;
 import org.apache.avalon.framework.context.DefaultContext;
 import org.apache.avalon.framework.parameters.Parameters;
 import org.apache.avalon.framework.service.ServiceException;
@@ -139,6 +140,7 @@
             // Add component
             ComponentInfo component = new ComponentInfo();
             component.setComponentClassName(componentClassName);
+            component.setConfiguration(new DefaultConfiguration("-"));
             component.setRole(typeClassName + "/" + key);
             info.addComponent(component);
 
@@ -147,6 +149,7 @@
             component.setModel(ComponentInfo.MODEL_SINGLETON);
             component.setComponentClassName("org.apache.cocoon.core.container.DefaultServiceSelector");
             component.setRole(typeClassName + "Selector");
+            component.setConfiguration(new DefaultConfiguration("-"));
             component.setDefaultValue(key);
             info.addComponent(component);
         }

Modified: cocoon/trunk/core/cocoon-core/src/test/resources/org/apache/cocoon/transformation/XIncludeTransformerTestCase.xtest
URL: http://svn.apache.org/viewcvs/cocoon/trunk/core/cocoon-core/src/test/resources/org/apache/cocoon/transformation/XIncludeTransformerTestCase.xtest?rev=390855&r1=390854&r2=390855&view=diff
==============================================================================
--- cocoon/trunk/core/cocoon-core/src/test/resources/org/apache/cocoon/transformation/XIncludeTransformerTestCase.xtest
(original)
+++ cocoon/trunk/core/cocoon-core/src/test/resources/org/apache/cocoon/transformation/XIncludeTransformerTestCase.xtest
Sun Apr  2 09:51:20 2006
@@ -20,6 +20,9 @@
  </context>
 
  <roles>
+  <role name="org.apache.excalibur.xml.sax.SAXParser"
+        shorthand="xml-parser"
+        default-class="org.apache.excalibur.xml.impl.JaxpParser"/>
  </roles>
 
  <components/>



Mime
View raw message