cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ghow...@apache.org
Subject cvs commit: cocoon-2.1/src/test/org/apache/cocoon/environment/mock MockEnvironment.java
Date Thu, 10 Jul 2003 00:25:26 GMT
ghoward     2003/07/09 17:25:26

  Modified:    src/test/org/apache/cocoon/util/test MIMEUtilsTestCase.java
               src/test/org/apache/cocoon/generation
                        FileGeneratorTestCase.java
                        AbstractGeneratorTestCase.java
               src/test/org/apache/cocoon/transformation
                        TraxTransformerTestCase.java
                        AbstractTransformerTestCase.java
               src/test/org/apache/cocoon/acting
                        AbstractActionTestCase.java
               src/test/org/apache/cocoon AbstractCompositeTestCase.java
               src/test/org/apache/cocoon/xml/dom
                        DOMBuilderStreamerTestCase.java
               src/test/org/apache/cocoon/environment/mock
                        MockEnvironment.java
  Log:
  clean up imports to appease eclipse
  
  Revision  Changes    Path
  1.2       +1 -4      cocoon-2.1/src/test/org/apache/cocoon/util/test/MIMEUtilsTestCase.java
  
  Index: MIMEUtilsTestCase.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/test/org/apache/cocoon/util/test/MIMEUtilsTestCase.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- MIMEUtilsTestCase.java	1 Jun 2003 09:17:01 -0000	1.1
  +++ MIMEUtilsTestCase.java	10 Jul 2003 00:25:25 -0000	1.2
  @@ -53,9 +53,6 @@
   import java.util.HashMap;
   import java.util.Map;
   import java.io.StringReader;
  -import java.io.InputStream;
  -import java.io.InputStreamReader;
  -
   import junit.framework.TestCase;
   
   import org.apache.cocoon.util.MIMEUtils;
  
  
  
  1.5       +1 -3      cocoon-2.1/src/test/org/apache/cocoon/generation/FileGeneratorTestCase.java
  
  Index: FileGeneratorTestCase.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/test/org/apache/cocoon/generation/FileGeneratorTestCase.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- FileGeneratorTestCase.java	29 Apr 2003 10:45:03 -0000	1.4
  +++ FileGeneratorTestCase.java	10 Jul 2003 00:25:25 -0000	1.5
  @@ -51,8 +51,6 @@
   
   package org.apache.cocoon.generation;
   
  -import java.util.HashMap;
  -
   import org.apache.avalon.framework.parameters.Parameters;
   
   import org.apache.cocoon.AbstractCompositeTestCase;
  
  
  
  1.6       +2 -3      cocoon-2.1/src/test/org/apache/cocoon/generation/AbstractGeneratorTestCase.java
  
  Index: AbstractGeneratorTestCase.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/test/org/apache/cocoon/generation/AbstractGeneratorTestCase.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- AbstractGeneratorTestCase.java	19 Apr 2003 16:37:58 -0000	1.5
  +++ AbstractGeneratorTestCase.java	10 Jul 2003 00:25:25 -0000	1.6
  @@ -51,9 +51,8 @@
   
   package org.apache.cocoon.generation;
   
  -import java.util.Enumeration;
  -import java.util.Map;
   import java.util.HashMap;
  +import java.util.Map;
   
   import org.apache.avalon.excalibur.testcase.ExcaliburTestCase;
   import org.apache.avalon.framework.component.Component;
  
  
  
  1.3       +1 -3      cocoon-2.1/src/test/org/apache/cocoon/transformation/TraxTransformerTestCase.java
  
  Index: TraxTransformerTestCase.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/test/org/apache/cocoon/transformation/TraxTransformerTestCase.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TraxTransformerTestCase.java	23 Apr 2003 06:42:26 -0000	1.2
  +++ TraxTransformerTestCase.java	10 Jul 2003 00:25:25 -0000	1.3
  @@ -51,8 +51,6 @@
   
   package org.apache.cocoon.transformation;
   
  -import java.util.HashMap;
  -
   import org.apache.avalon.framework.parameters.Parameters;
   
   import org.w3c.dom.Document;
  
  
  
  1.7       +1 -6      cocoon-2.1/src/test/org/apache/cocoon/transformation/AbstractTransformerTestCase.java
  
  Index: AbstractTransformerTestCase.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/test/org/apache/cocoon/transformation/AbstractTransformerTestCase.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- AbstractTransformerTestCase.java	23 Apr 2003 06:20:20 -0000	1.6
  +++ AbstractTransformerTestCase.java	10 Jul 2003 00:25:25 -0000	1.7
  @@ -51,7 +51,6 @@
   package org.apache.cocoon.transformation;
   
   import java.io.IOException;
  -import java.util.Enumeration;
   import java.util.Map;
   import java.util.HashMap;
   
  @@ -74,13 +73,9 @@
   import org.apache.excalibur.source.SourceResolver;
   import org.apache.excalibur.xml.sax.SAXParser;
   import org.custommonkey.xmlunit.Diff;
  -import org.custommonkey.xmlunit.XMLUnit;
   import org.w3c.dom.Document;
  -import org.w3c.dom.NodeList;
  -import org.xml.sax.ContentHandler;
   import org.xml.sax.InputSource;
   import org.xml.sax.SAXException;
  -import org.xml.sax.ext.LexicalHandler;
   
   /**
    * Testcase for transformer components. It uses multiple input documents
  
  
  
  1.2       +3 -5      cocoon-2.1/src/test/org/apache/cocoon/acting/AbstractActionTestCase.java
  
  Index: AbstractActionTestCase.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/test/org/apache/cocoon/acting/AbstractActionTestCase.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AbstractActionTestCase.java	19 Apr 2003 16:11:17 -0000	1.1
  +++ AbstractActionTestCase.java	10 Jul 2003 00:25:25 -0000	1.2
  @@ -51,21 +51,19 @@
   
   package org.apache.cocoon.acting;
   
  -import java.util.Map;
   import java.util.HashMap;
  +import java.util.Map;
   
   import org.apache.avalon.excalibur.testcase.ExcaliburTestCase;
  -import org.apache.avalon.framework.component.Component;
   import org.apache.avalon.framework.component.ComponentException;
   import org.apache.avalon.framework.component.ComponentSelector;
   import org.apache.avalon.framework.parameters.Parameters;
  +import org.apache.cocoon.components.source.SourceResolverAdapter;
   import org.apache.cocoon.environment.ObjectModelHelper;
   import org.apache.cocoon.environment.mock.MockContext;
   import org.apache.cocoon.environment.mock.MockRedirector;
   import org.apache.cocoon.environment.mock.MockRequest;
   import org.apache.cocoon.environment.mock.MockResponse;
  -import org.apache.cocoon.components.source.SourceResolverAdapter;
  -import org.apache.excalibur.source.Source;
   import org.apache.excalibur.source.SourceResolver;
   
   /**
  
  
  
  1.4       +3 -7      cocoon-2.1/src/test/org/apache/cocoon/AbstractCompositeTestCase.java
  
  Index: AbstractCompositeTestCase.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/test/org/apache/cocoon/AbstractCompositeTestCase.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- AbstractCompositeTestCase.java	4 May 2003 19:01:59 -0000	1.3
  +++ AbstractCompositeTestCase.java	10 Jul 2003 00:25:25 -0000	1.4
  @@ -52,8 +52,8 @@
   package org.apache.cocoon;
   
   import java.io.IOException;
  -import java.util.Map;
   import java.util.HashMap;
  +import java.util.Map;
   
   import javax.xml.transform.TransformerException;
   import javax.xml.transform.TransformerFactory;
  @@ -66,12 +66,12 @@
   import org.apache.avalon.framework.component.ComponentSelector;
   import org.apache.avalon.framework.parameters.Parameters;
   import org.apache.cocoon.acting.Action;
  +import org.apache.cocoon.components.source.SourceResolverAdapter;
   import org.apache.cocoon.environment.ObjectModelHelper;
   import org.apache.cocoon.environment.mock.MockContext;
   import org.apache.cocoon.environment.mock.MockRedirector;
   import org.apache.cocoon.environment.mock.MockRequest;
   import org.apache.cocoon.environment.mock.MockResponse;
  -import org.apache.cocoon.components.source.SourceResolverAdapter;
   import org.apache.cocoon.generation.Generator;
   import org.apache.cocoon.transformation.Transformer;
   import org.apache.cocoon.xml.WhitespaceFilter;
  @@ -81,13 +81,9 @@
   import org.apache.excalibur.source.SourceResolver;
   import org.apache.excalibur.xml.sax.SAXParser;
   import org.custommonkey.xmlunit.Diff;
  -import org.custommonkey.xmlunit.XMLUnit;
   import org.w3c.dom.Document;
  -import org.w3c.dom.NodeList;
  -import org.xml.sax.ContentHandler;
   import org.xml.sax.InputSource;
   import org.xml.sax.SAXException;
  -import org.xml.sax.ext.LexicalHandler;
   
   /**
    * Testcase for action, generator and transformer components. 
  
  
  
  1.5       +1 -4      cocoon-2.1/src/test/org/apache/cocoon/xml/dom/DOMBuilderStreamerTestCase.java
  
  Index: DOMBuilderStreamerTestCase.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/test/org/apache/cocoon/xml/dom/DOMBuilderStreamerTestCase.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- DOMBuilderStreamerTestCase.java	29 Apr 2003 10:45:03 -0000	1.4
  +++ DOMBuilderStreamerTestCase.java	10 Jul 2003 00:25:26 -0000	1.5
  @@ -61,9 +61,6 @@
   import org.w3c.dom.Document;
   import org.w3c.dom.Element;
   
  -import org.xml.sax.Attributes;
  -import org.xml.sax.ContentHandler;
  -import org.xml.sax.SAXException;
   import org.xml.sax.helpers.AttributesImpl;
   
   /**
  
  
  
  1.4       +0 -2      cocoon-2.1/src/test/org/apache/cocoon/environment/mock/MockEnvironment.java
  
  Index: MockEnvironment.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/test/org/apache/cocoon/environment/mock/MockEnvironment.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- MockEnvironment.java	6 Jul 2003 20:37:48 -0000	1.3
  +++ MockEnvironment.java	10 Jul 2003 00:25:26 -0000	1.4
  @@ -54,7 +54,6 @@
   import java.io.IOException;
   import java.io.OutputStream;
   import java.net.MalformedURLException;
  -import java.net.URL;
   import java.util.Enumeration;
   import java.util.HashMap;
   import java.util.Hashtable;
  @@ -66,7 +65,6 @@
   import org.apache.cocoon.environment.Environment;
   import org.apache.cocoon.environment.Source;
   import org.apache.excalibur.source.SourceResolver;
  -
   import org.xml.sax.ContentHandler;
   import org.xml.sax.SAXException;
   
  
  
  

Mime
View raw message