commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nicola...@apache.org
Subject cvs commit: jakarta-commons-sandbox/io/src/test/org/apache/commons/io/compress/tar TarTestCase.java
Date Tue, 09 Jul 2002 15:12:23 GMT
nicolaken    2002/07/09 08:12:23

  Modified:    io/src/test/org/apache/commons/io/compress/zip
                        AsiExtraFieldTestCase.java
                        ExtraFieldUtilsTestCase.java ZipEntryTestCase.java
                        ZipLongTestCase.java ZipShortTestCase.java
               io/src/test/org/apache/commons/io/compress/bzip2
                        BzipTestCase.java
               io/src/test/org/apache/commons/io DemuxTestCase.java
                        FileUtilTestCase.java IOUtilTestCase.java
               io/src/test/org/apache/commons/io/compress/tar
                        TarTestCase.java
  Log:
  Make testcases compile.
  
  Revision  Changes    Path
  1.2       +0 -2      jakarta-commons-sandbox/io/src/test/org/apache/commons/io/compress/zip/AsiExtraFieldTestCase.java
  
  Index: AsiExtraFieldTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/io/src/test/org/apache/commons/io/compress/zip/AsiExtraFieldTestCase.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AsiExtraFieldTestCase.java	8 Jul 2002 22:19:09 -0000	1.1
  +++ AsiExtraFieldTestCase.java	9 Jul 2002 15:12:22 -0000	1.2
  @@ -9,8 +9,6 @@
   
   import java.util.zip.ZipException;
   import junit.framework.TestCase;
  -import org.apache.excalibur.zip.AsiExtraField;
  -import org.apache.excalibur.zip.UnixStat;
   
   /**
    * JUnit testcases AsiExtraField.
  
  
  
  1.2       +0 -7      jakarta-commons-sandbox/io/src/test/org/apache/commons/io/compress/zip/ExtraFieldUtilsTestCase.java
  
  Index: ExtraFieldUtilsTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/io/src/test/org/apache/commons/io/compress/zip/ExtraFieldUtilsTestCase.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ExtraFieldUtilsTestCase.java	8 Jul 2002 22:19:09 -0000	1.1
  +++ ExtraFieldUtilsTestCase.java	9 Jul 2002 15:12:22 -0000	1.2
  @@ -8,13 +8,6 @@
   package org.apache.commons.io.compress.zip;
   
   import junit.framework.TestCase;
  -import org.apache.excalibur.zip.AsiExtraField;
  -import org.apache.excalibur.zip.ExtraFieldUtils;
  -import org.apache.excalibur.zip.UnixStat;
  -import org.apache.excalibur.zip.UnrecognizedExtraField;
  -import org.apache.excalibur.zip.ZipExtraField;
  -import org.apache.excalibur.zip.ZipShort;
  -
   /**
    * JUnit testcases ExtraFieldUtils.
    *
  
  
  
  1.2       +0 -5      jakarta-commons-sandbox/io/src/test/org/apache/commons/io/compress/zip/ZipEntryTestCase.java
  
  Index: ZipEntryTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/io/src/test/org/apache/commons/io/compress/zip/ZipEntryTestCase.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ZipEntryTestCase.java	8 Jul 2002 22:19:09 -0000	1.1
  +++ ZipEntryTestCase.java	9 Jul 2002 15:12:22 -0000	1.2
  @@ -9,11 +9,6 @@
   
   import java.util.NoSuchElementException;
   import junit.framework.TestCase;
  -import org.apache.excalibur.zip.AsiExtraField;
  -import org.apache.excalibur.zip.UnrecognizedExtraField;
  -import org.apache.excalibur.zip.ZipEntry;
  -import org.apache.excalibur.zip.ZipExtraField;
  -import org.apache.excalibur.zip.ZipShort;
   
   /**
    * JUnit testcases ZipEntry.
  
  
  
  1.2       +0 -1      jakarta-commons-sandbox/io/src/test/org/apache/commons/io/compress/zip/ZipLongTestCase.java
  
  Index: ZipLongTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/io/src/test/org/apache/commons/io/compress/zip/ZipLongTestCase.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ZipLongTestCase.java	8 Jul 2002 22:19:09 -0000	1.1
  +++ ZipLongTestCase.java	9 Jul 2002 15:12:22 -0000	1.2
  @@ -8,7 +8,6 @@
   package org.apache.commons.io.compress.zip;
   
   import junit.framework.TestCase;
  -import org.apache.excalibur.zip.ZipLong;
   
   /**
    * JUnit 3 testcases for org.apache.tools.zip.ZipLong.
  
  
  
  1.2       +0 -1      jakarta-commons-sandbox/io/src/test/org/apache/commons/io/compress/zip/ZipShortTestCase.java
  
  Index: ZipShortTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/io/src/test/org/apache/commons/io/compress/zip/ZipShortTestCase.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ZipShortTestCase.java	8 Jul 2002 22:19:09 -0000	1.1
  +++ ZipShortTestCase.java	9 Jul 2002 15:12:22 -0000	1.2
  @@ -8,7 +8,6 @@
   package org.apache.commons.io.compress.zip;
   
   import junit.framework.TestCase;
  -import org.apache.excalibur.zip.ZipShort;
   
   /**
    * JUnit 3 testcases for org.apache.tools.zip.ZipShort.
  
  
  
  1.2       +2 -4      jakarta-commons-sandbox/io/src/test/org/apache/commons/io/compress/bzip2/BzipTestCase.java
  
  Index: BzipTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/io/src/test/org/apache/commons/io/compress/bzip2/BzipTestCase.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- BzipTestCase.java	8 Jul 2002 22:19:09 -0000	1.1
  +++ BzipTestCase.java	9 Jul 2002 15:12:23 -0000	1.2
  @@ -5,7 +5,7 @@
    * version 1.1, a copy of which has been included  with this distribution in
    * the LICENSE.txt file.
    */
  -package org.apache.excalibur.bzip2.test;
  +package org.apache.commons.io.compress.bzip2;
   
   import java.io.BufferedInputStream;
   import java.io.File;
  @@ -15,8 +15,6 @@
   import java.io.InputStream;
   import java.io.OutputStream;
   import junit.framework.TestCase;
  -import org.apache.excalibur.bzip2.CBZip2InputStream;
  -import org.apache.excalibur.bzip2.CBZip2OutputStream;
   
   /**
    * A test the stress tested the BZip implementation to verify
  
  
  
  1.2       +4 -5      jakarta-commons-sandbox/io/src/test/org/apache/commons/io/DemuxTestCase.java
  
  Index: DemuxTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/io/src/test/org/apache/commons/io/DemuxTestCase.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DemuxTestCase.java	8 Jul 2002 22:19:10 -0000	1.1
  +++ DemuxTestCase.java	9 Jul 2002 15:12:23 -0000	1.2
  @@ -70,8 +70,6 @@
   import java.util.Iterator;
   import java.util.Random;
   import junit.framework.TestCase;
  -import org.apache.avalon.excalibur.io.DemuxInputStream;
  -import org.apache.avalon.excalibur.io.DemuxOutputStream;
   
   /**
    * Basic unit tests for the multiplexing streams.
  @@ -284,3 +282,4 @@
           }
       }
   }
  +
  
  
  
  1.2       +4 -4      jakarta-commons-sandbox/io/src/test/org/apache/commons/io/FileUtilTestCase.java
  
  Index: FileUtilTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/io/src/test/org/apache/commons/io/FileUtilTestCase.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- FileUtilTestCase.java	8 Jul 2002 22:19:10 -0000	1.1
  +++ FileUtilTestCase.java	9 Jul 2002 15:12:23 -0000	1.2
  @@ -68,7 +68,6 @@
   import junit.framework.Test;
   import junit.framework.TestCase;
   import junit.framework.TestSuite;
  -import org.apache.avalon.excalibur.io.FileUtil;
   
   /**
    * This is used to test FileUtil for correctness.
  @@ -241,3 +240,4 @@
           }
       }
   }
  +
  
  
  
  1.2       +4 -5      jakarta-commons-sandbox/io/src/test/org/apache/commons/io/IOUtilTestCase.java
  
  Index: IOUtilTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/io/src/test/org/apache/commons/io/IOUtilTestCase.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- IOUtilTestCase.java	8 Jul 2002 22:19:10 -0000	1.1
  +++ IOUtilTestCase.java	9 Jul 2002 15:12:23 -0000	1.2
  @@ -75,8 +75,6 @@
   import java.util.Arrays;
   import junit.framework.AssertionFailedError;
   import junit.framework.TestCase;
  -import org.apache.avalon.excalibur.io.FileUtil;
  -import org.apache.avalon.excalibur.io.IOUtil;
   
   // Note: jdk1.2 dependency
   
  @@ -482,3 +480,4 @@
           //assertTrue( "File would not delete", (file.delete() || ( !file.exists() )));
       }
   }
  +
  
  
  
  1.2       +2 -5      jakarta-commons-sandbox/io/src/test/org/apache/commons/io/compress/tar/TarTestCase.java
  
  Index: TarTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/io/src/test/org/apache/commons/io/compress/tar/TarTestCase.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TarTestCase.java	8 Jul 2002 22:19:10 -0000	1.1
  +++ TarTestCase.java	9 Jul 2002 15:12:23 -0000	1.2
  @@ -5,7 +5,7 @@
    * version 1.1, a copy of which has been included with this distribution in
    * the LICENSE.txt file.
    */
  -package org.apache.commons.compress.tar;
  +package org.apache.commons.io.compress.tar;
   
   import java.io.BufferedInputStream;
   import java.io.File;
  @@ -15,9 +15,6 @@
   import java.io.InputStream;
   import java.io.OutputStream;
   import junit.framework.TestCase;
  -import org.apache.excalibur.tar.TarEntry;
  -import org.apache.excalibur.tar.TarInputStream;
  -import org.apache.excalibur.tar.TarOutputStream;
   
   /**
    * Test case for all tar resources.
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message