cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From u..@apache.org
Subject cvs commit: cocoon-2.1/src/test/org/apache/cocoon/components/resolver/test ResolverImplTestCase.java
Date Sun, 21 Sep 2003 16:41:41 GMT
ugo         2003/09/21 09:41:41

  Modified:    src/test/org/apache/cocoon/components/resolver/test
                        ResolverImplTestCase.java
  Log:
  Changed type of resolverImpl from
  org.apache.excalibur.xml.DefaultEntityResolver to
  org.apache.cocoon.components.resolver.ResolverImpl in order to make tests run again.
  
  Revision  Changes    Path
  1.6       +4 -4      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.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ResolverImplTestCase.java	11 Aug 2003 11:03:31 -0000	1.5
  +++ ResolverImplTestCase.java	21 Sep 2003 16:41:41 -0000	1.6
  @@ -61,7 +61,7 @@
   import org.apache.avalon.framework.activity.Initializable;
   import org.apache.avalon.framework.context.DefaultContext;
   import org.apache.cocoon.Constants;
  -import org.apache.excalibur.xml.DefaultEntityResolver;
  +import org.apache.cocoon.components.resolver.ResolverImpl;
   import org.apache.cocoon.environment.commandline.CommandLineContext;
   import org.apache.cocoon.util.IOUtils;
   import org.apache.excalibur.xml.EntityResolver;
  @@ -231,7 +231,7 @@
           "<!ENTITY shy    \"&#173;\" ><!--=soft hyphen-->\n" +
           "";
       private DefaultContext context;
  -    private DefaultEntityResolver resolverImpl;
  +    private ResolverImpl resolverImpl;
       private File workDir;
       private File commandlineContextDir;
   
  @@ -279,7 +279,7 @@
           super.setUp();
   
           String role = EntityResolver.ROLE;
  -        resolverImpl = (DefaultEntityResolver) manager.lookup(role);
  +        resolverImpl = (ResolverImpl) manager.lookup(role);
           assertNotNull("ResolverImpl is null", resolverImpl);
       }
   
  
  
  

Mime
View raw message