cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject cvs commit: xml-cocoon2/src/test/org/apache/cocoon/components/resolver/test ResolverImplTestCase.java ResolverImplTestCase.xtest
Date Thu, 19 Dec 2002 08:47:09 GMT
crossley    2002/12/19 00:47:09

  Modified:    src/test/org/apache/cocoon/components/resolver/test Tag:
                        cocoon_2_0_3_branch ResolverImplTestCase.java
                        ResolverImplTestCase.xtest
  Log:
  Follow the move of the entity-resolver role to Excalibur EntityResolver.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.3.2.1   +5 -3      xml-cocoon2/src/test/org/apache/cocoon/components/resolver/test/ResolverImplTestCase.java
  
  Index: ResolverImplTestCase.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/test/org/apache/cocoon/components/resolver/test/ResolverImplTestCase.java,v
  retrieving revision 1.3
  retrieving revision 1.3.2.1
  diff -u -r1.3 -r1.3.2.1
  --- ResolverImplTestCase.java	22 Feb 2002 07:05:08 -0000	1.3
  +++ ResolverImplTestCase.java	19 Dec 2002 08:47:09 -0000	1.3.2.1
  @@ -60,6 +60,7 @@
   import junit.swingui.TestRunner;
   import org.apache.avalon.excalibur.testcase.CascadingAssertionFailedError;
   import org.apache.avalon.excalibur.testcase.ExcaliburTestCase;
  +import org.apache.avalon.excalibur.xml.EntityResolver;
   import org.apache.avalon.framework.activity.Disposable;
   import org.apache.avalon.framework.activity.Initializable;
   import org.apache.avalon.framework.component.Component;
  @@ -70,7 +71,7 @@
   import org.apache.avalon.framework.parameters.Parameters;
   import org.apache.cocoon.Constants;
   import org.apache.cocoon.ProcessingException;
  -import org.apache.cocoon.components.resolver.*;
  +import org.apache.cocoon.components.resolver.ResolverImpl;
   import org.apache.cocoon.environment.commandline.CommandlineContext;
   import org.apache.cocoon.util.IOUtils;
   import org.xml.sax.InputSource;
  @@ -80,6 +81,7 @@
    * A test case for components/resolver/ResolverImpl
    *
    * @author <a href="mailto:berni_huber@a1.net">Bernhard Huber</a>
  + * @author <a href="mailto:crossley@apache.org">David Crossley</a>
    * @version CVS $Id$
    */
   public final class ResolverImplTestCase
  @@ -287,7 +289,7 @@
       public void setUp() throws Exception {
           super.setUp();
   
  -        String role = Resolver.ROLE;
  +        String role = EntityResolver.ROLE;
           resolverImpl = (ResolverImpl) manager.lookup(role);
           assertNotNull("ResolverImpl is null", resolverImpl);
       }
  
  
  
  1.5.2.1   +1 -1      xml-cocoon2/src/test/org/apache/cocoon/components/resolver/test/ResolverImplTestCase.xtest
  
  Index: ResolverImplTestCase.xtest
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/test/org/apache/cocoon/components/resolver/test/ResolverImplTestCase.xtest,v
  retrieving revision 1.5
  retrieving revision 1.5.2.1
  diff -u -r1.5 -r1.5.2.1
  --- ResolverImplTestCase.xtest	19 Mar 2002 17:15:35 -0000	1.5
  +++ ResolverImplTestCase.xtest	19 Dec 2002 08:47:09 -0000	1.5.2.1
  @@ -109,7 +109,7 @@
       <entry name="foo" value="bar"/>
     </context>
     <roles>
  -    <role name="org.apache.cocoon.components.resolver.Resolver"
  +    <role name="org.apache.avalon.excalibur.xml.EntityResolver"
         shorthand="entity-resolver"
         default-class="org.apache.cocoon.components.resolver.ResolverImpl">
       </role>
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message