commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r1572932 - /commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/sevenz/SevenZOutputFileTest.java
Date Fri, 28 Feb 2014 12:26:06 GMT
Author: bodewig
Date: Fri Feb 28 12:26:05 2014
New Revision: 1572932

URL: http://svn.apache.org/r1572932
Log:
COMPRESS-257 unfortunately there is a bug in XZ for Java 1.4 which causes the tests to fail

Modified:
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/sevenz/SevenZOutputFileTest.java

Modified: commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/sevenz/SevenZOutputFileTest.java
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/sevenz/SevenZOutputFileTest.java?rev=1572932&r1=1572931&r2=1572932&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/sevenz/SevenZOutputFileTest.java
(original)
+++ commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/sevenz/SevenZOutputFileTest.java
Fri Feb 28 12:26:05 2014
@@ -234,6 +234,7 @@ public class SevenZOutputFileTest extend
         testRoundTrip(SevenZMethod.DEFLATE);
     }
 
+    /* must wait for XZ for Java > 1.4
     public void testBCJX86Roundtrip() throws Exception {
         testFilterRoundTrip(new SevenZMethodConfiguration(SevenZMethod.BCJ_X86_FILTER));
     }
@@ -257,6 +258,7 @@ public class SevenZOutputFileTest extend
     public void testBCJSparcRoundtrip() throws Exception {
         testFilterRoundTrip(new SevenZMethodConfiguration(SevenZMethod.BCJ_SPARC_FILTER));
     }
+    */
 
     public void testStackOfContentCompressions() throws Exception {
         output = new File(dir, "multiple-methods.7z");
@@ -418,7 +420,7 @@ public class SevenZOutputFileTest extend
     }
 
     private void testFilterRoundTrip(SevenZMethodConfiguration method) throws Exception {
-        output = new File(dir, method + "-roundtrip.7z");
+        output = new File(dir, method.getMethod() + "-roundtrip.7z");
         ArrayList<SevenZMethodConfiguration> methods = new ArrayList<SevenZMethodConfiguration>();
         methods.add(method);
         methods.add(new SevenZMethodConfiguration(SevenZMethod.LZMA2));



Mime
View raw message