cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: cocoon-2.1/src/test/org/apache/cocoon/components/resolver/test ResolverImplTestCase.java
Date Mon, 11 Aug 2003 11:03:31 GMT
cziegeler    2003/08/11 04:03:31

  Modified:    src/test/org/apache/cocoon/components/resolver/test
                        ResolverImplTestCase.java
  Log:
  Test excalibur implementation; our own is deprecated.
  This fixes bug 20096
  
  Revision  Changes    Path
  1.5       +5 -5      cocoon-2.1/src/test/org/apache/cocoon/components/resolver/test/ResolverImplTestCase.java
  
  Index: ResolverImplTestCase.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/test/org/apache/cocoon/components/resolver/test/ResolverImplTestCase.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ResolverImplTestCase.java	12 May 2003 13:26:17 -0000	1.4
  +++ ResolverImplTestCase.java	11 Aug 2003 11:03:31 -0000	1.5
  @@ -61,14 +61,14 @@
   import org.apache.avalon.framework.activity.Initializable;
   import org.apache.avalon.framework.context.DefaultContext;
   import org.apache.cocoon.Constants;
  -import org.apache.cocoon.components.resolver.ResolverImpl;
  +import org.apache.excalibur.xml.DefaultEntityResolver;
   import org.apache.cocoon.environment.commandline.CommandLineContext;
   import org.apache.cocoon.util.IOUtils;
   import org.apache.excalibur.xml.EntityResolver;
   import org.xml.sax.InputSource;
   
   /**
  - * A test case for components/resolver/ResolverImpl
  + * A test case for org.apache.excalibur.xml.DefaultEntityResolver
    *
    * @author <a href="mailto:berni_huber@a1.net">Bernhard Huber</a>
    * @author <a href="mailto:crossley@apache.org">David Crossley</a>
  @@ -231,7 +231,7 @@
           "<!ENTITY shy    \"&#173;\" ><!--=soft hyphen-->\n" +
           "";
       private DefaultContext context;
  -    private ResolverImpl resolverImpl;
  +    private DefaultEntityResolver resolverImpl;
       private File workDir;
       private File commandlineContextDir;
   
  @@ -279,7 +279,7 @@
           super.setUp();
   
           String role = EntityResolver.ROLE;
  -        resolverImpl = (ResolverImpl) manager.lookup(role);
  +        resolverImpl = (DefaultEntityResolver) manager.lookup(role);
           assertNotNull("ResolverImpl is null", resolverImpl);
       }
   
  
  
  

Mime
View raw message