logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject cvs commit: jakarta-log4j/tests/src/java/org/apache/log4j/rolling/helpers CompressTestCase.java
Date Sat, 24 May 2003 11:55:36 GMT
ceki        2003/05/24 04:55:35

  Modified:    tests/src/java/org/apache/log4j/rolling/helpers
                        CompressTestCase.java
  Log:
  
  Compare files after decompression and not just compressed bytes.
  
  Revision  Changes    Path
  1.3       +2 -2      jakarta-log4j/tests/src/java/org/apache/log4j/rolling/helpers/CompressTestCase.java
  
  Index: CompressTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j/tests/src/java/org/apache/log4j/rolling/helpers/CompressTestCase.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- CompressTestCase.java	19 May 2003 13:50:10 -0000	1.2
  +++ CompressTestCase.java	24 May 2003 11:55:35 -0000	1.3
  @@ -80,13 +80,13 @@
     
     public void test1() throws Exception {
       Compress.GZCompress("input/compress1.txt", "output/compress1.txt.gz");   
  -    assertTrue(Compare.compare("output/compress1.txt.gz",
  +    assertTrue(Compare.gzCompare("output/compress1.txt.gz",
              "witness/compress1.txt.gz"));  
     }
     
     public void test2() throws Exception {
        Compress.GZCompress("input/compress2.txt", "output/compress2.txt");   
  -     assertTrue(Compare.compare("output/compress2.txt.gz",
  +     assertTrue(Compare.gzCompare("output/compress2.txt.gz",
               "witness/compress2.txt.gz"));  
      }
      
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-dev-help@jakarta.apache.org


Mime
View raw message