commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-commons-sandbox/bzip2/src/test/org/apache/commons/bzip2/test BzipTestCase.java
Date Tue, 16 Jul 2002 06:25:38 GMT
donaldp     2002/07/15 23:25:38

  Modified:    bzip2    build.xml
               bzip2/examples/basic Bzip2Compress.java Bzip2Uncompress.java
               bzip2/src/java/org/apache/commons/bzip2 BZip2Constants.java
                        CBZip2InputStream.java CBZip2OutputStream.java
                        CRC.java
               bzip2/src/test/org/apache/commons/bzip2/test
                        BzipTestCase.java
  Removed:     bzip2    WARNING.txt
  Log:
  Update to new hierarchy
  
  Revision  Changes    Path
  1.28      +3 -15     jakarta-commons-sandbox/bzip2/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/bzip2/build.xml,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- build.xml	6 Jul 2002 05:44:25 -0000	1.27
  +++ build.xml	16 Jul 2002 06:25:37 -0000	1.28
  @@ -1,6 +1,6 @@
   <?xml version="1.0"?>
   
  -<project name="Excalibur Bzip2" default="main" basedir=".">
  +<project name="Commons Bzip2" default="main" basedir=".">
   
       <property file="${user.home}/build.properties"/>
       <property file="${basedir}/../ant.properties"/>
  @@ -31,20 +31,8 @@
       <target name="main" depends="jar" description="Build the project"/>
       <target name="rebuild" depends="clean,main" description="Rebuild the project"/>
   
  -    <target name="dependencies" description="Check dependencies" unless="skip.dependencies">
  -        <ant antfile="${depchecker.prefix}/depchecker.xml" target="checkCommon"/>
  -    </target>
  -
  -    <target name="dependencies-test" depends="dist-jar, dependencies"
  -        description="Check unit test dependencies" unless="skip.dependencies">
  -        <!-- Need the jar to prevent recursive deps. -->
  -
  -        <ant antfile="${depchecker.prefix}/depchecker.xml" target="checkJUnit"/>
  -    </target>
  -
  -
       <!-- Compiles the source code -->
  -    <target name="compile" depends="dependencies" description="Compiles the source code">
  +    <target name="compile" description="Compiles the source code">
   
           <mkdir dir="${build.classes}"/>
   
  @@ -70,7 +58,7 @@
       </target>
   
       <!-- Compiles the unit test source code -->
  -    <target name="compile-test" depends="compile, dependencies-test" description="Compiles
the source code">
  +    <target name="compile-test" depends="compile" description="Compiles the source code">
           <mkdir dir="${build.testsrc}"/>
   
           <!-- Copy over all of the tests applying test filters -->
  
  
  
  1.3       +2 -2      jakarta-commons-sandbox/bzip2/examples/basic/Bzip2Compress.java
  
  Index: Bzip2Compress.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/bzip2/examples/basic/Bzip2Compress.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Bzip2Compress.java	7 Apr 2002 02:51:11 -0000	1.2
  +++ Bzip2Compress.java	16 Jul 2002 06:25:37 -0000	1.3
  @@ -12,7 +12,7 @@
   import java.io.IOException;
   import java.io.InputStream;
   import java.io.OutputStream;
  -import org.apache.excalibur.bzip2.CBZip2OutputStream;
  +import org.apache.commons.bzip2.CBZip2OutputStream;
   
   /**
    * This simple example shows how to use the Bzip2 classes to compress a file.
  
  
  
  1.3       +2 -2      jakarta-commons-sandbox/bzip2/examples/basic/Bzip2Uncompress.java
  
  Index: Bzip2Uncompress.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/bzip2/examples/basic/Bzip2Uncompress.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Bzip2Uncompress.java	7 Apr 2002 02:51:11 -0000	1.2
  +++ Bzip2Uncompress.java	16 Jul 2002 06:25:37 -0000	1.3
  @@ -12,7 +12,7 @@
   import java.io.IOException;
   import java.io.InputStream;
   import java.io.OutputStream;
  -import org.apache.excalibur.bzip2.CBZip2InputStream;
  +import org.apache.commons.bzip2.CBZip2InputStream;
   
   /**
    * This simple example shows how to use the Bzip2 classes to uncompress a file.
  
  
  
  1.3       +1 -1      jakarta-commons-sandbox/bzip2/src/java/org/apache/commons/bzip2/BZip2Constants.java
  
  Index: BZip2Constants.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/bzip2/src/java/org/apache/commons/bzip2/BZip2Constants.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- BZip2Constants.java	7 Apr 2002 02:51:11 -0000	1.2
  +++ BZip2Constants.java	16 Jul 2002 06:25:38 -0000	1.3
  @@ -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;
  +package org.apache.commons.bzip2;
   
   /**
    * Base class for both the compress and decompress classes. Holds common arrays,
  
  
  
  1.6       +1 -1      jakarta-commons-sandbox/bzip2/src/java/org/apache/commons/bzip2/CBZip2InputStream.java
  
  Index: CBZip2InputStream.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/bzip2/src/java/org/apache/commons/bzip2/CBZip2InputStream.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- CBZip2InputStream.java	7 Apr 2002 02:51:11 -0000	1.5
  +++ CBZip2InputStream.java	16 Jul 2002 06:25:38 -0000	1.6
  @@ -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;
  +package org.apache.commons.bzip2;
   
   import java.io.IOException;
   import java.io.InputStream;
  
  
  
  1.6       +1 -1      jakarta-commons-sandbox/bzip2/src/java/org/apache/commons/bzip2/CBZip2OutputStream.java
  
  Index: CBZip2OutputStream.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/bzip2/src/java/org/apache/commons/bzip2/CBZip2OutputStream.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- CBZip2OutputStream.java	7 Apr 2002 02:51:11 -0000	1.5
  +++ CBZip2OutputStream.java	16 Jul 2002 06:25:38 -0000	1.6
  @@ -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;
  +package org.apache.commons.bzip2;
   
   import java.io.IOException;
   import java.io.OutputStream;
  
  
  
  1.4       +1 -1      jakarta-commons-sandbox/bzip2/src/java/org/apache/commons/bzip2/CRC.java
  
  Index: CRC.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/bzip2/src/java/org/apache/commons/bzip2/CRC.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- CRC.java	7 Apr 2002 02:51:11 -0000	1.3
  +++ CRC.java	16 Jul 2002 06:25:38 -0000	1.4
  @@ -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;
  +package org.apache.commons.bzip2;
   
   /**
    * A simple class the hold and calculate the CRC for sanity checking of the
  
  
  
  1.3       +5 -5      jakarta-commons-sandbox/bzip2/src/test/org/apache/commons/bzip2/test/BzipTestCase.java
  
  Index: BzipTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/bzip2/src/test/org/apache/commons/bzip2/test/BzipTestCase.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- BzipTestCase.java	7 Apr 2002 02:51:13 -0000	1.2
  +++ BzipTestCase.java	16 Jul 2002 06:25:38 -0000	1.3
  @@ -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.bzip2.test;
   
   import java.io.BufferedInputStream;
   import java.io.File;
  @@ -15,8 +15,8 @@
   import java.io.InputStream;
   import java.io.OutputStream;
   import junit.framework.TestCase;
  -import org.apache.excalibur.bzip2.CBZip2InputStream;
  -import org.apache.excalibur.bzip2.CBZip2OutputStream;
  +import org.apache.commons.bzip2.CBZip2InputStream;
  +import org.apache.commons.bzip2.CBZip2OutputStream;
   
   /**
    * A test the stress tested the BZip implementation to verify
  @@ -209,7 +209,7 @@
   
       /**
        * Unconditionally close an <code>InputStream</code>.
  -     * Equivalent to {@link java.io.InputStream#close()}, except any exceptions will be
ignored.
  +     * Equivalent to {@link InputStream#close()}, except any exceptions will be ignored.
        * @param input A (possibly null) InputStream
        */
       private static void shutdownStream( final InputStream input )
  
  
  

--
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