commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r1552980 - in /commons/proper/compress/trunk/src/test: java/org/apache/commons/compress/archivers/zip/ExplodeSupportTest.java resources/tika-moby.zip
Date Sun, 22 Dec 2013 11:38:28 GMT
Author: bodewig
Date: Sun Dec 22 11:38:28 2013
New Revision: 1552980

URL: http://svn.apache.org/r1552980
Log:
create (currently failing) test cases from TIKA Gump build error

Added:
    commons/proper/compress/trunk/src/test/resources/tika-moby.zip
      - copied unchanged from r1552979, tika/trunk/tika-parsers/src/test/resources/test-documents/moby.zip
Modified:
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/zip/ExplodeSupportTest.java

Modified: commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/zip/ExplodeSupportTest.java
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/zip/ExplodeSupportTest.java?rev=1552980&r1=1552979&r2=1552980&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/zip/ExplodeSupportTest.java
(original)
+++ commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/zip/ExplodeSupportTest.java
Sun Dec 22 11:38:28 2013
@@ -57,6 +57,10 @@ public class ExplodeSupportTest extends 
         testArchiveWithImplodeCompression("target/test-classes/archives/imploding-8Kdict-3trees.zip",
"LICENSE.TXT");
     }
 
+    public void XtestTikaTestArchive() throws IOException {
+        testArchiveWithImplodeCompression("target/test-classes/tika-moby.zip", "README");
+    }
+
     private void testZipStreamWithImplodeCompression(String filename, String entryName) throws
IOException {
         ZipArchiveInputStream zin = new ZipArchiveInputStream(new FileInputStream(new File(filename)));
         ZipArchiveEntry entry = zin.getNextZipEntry();
@@ -82,4 +86,9 @@ public class ExplodeSupportTest extends 
     public void testZipStreamWithImplodeCompression8K3Trees() throws IOException {
         testZipStreamWithImplodeCompression("target/test-classes/archives/imploding-8Kdict-3trees.zip",
"LICENSE.TXT");
     }
+
+    public void XtestTikaTestStream() throws IOException {
+        testZipStreamWithImplodeCompression("target/test-classes/tika-moby.zip", "README");
+    }
+
 }



Mime
View raw message