You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by bo...@apache.org on 2013/12/22 06:50:26 UTC

svn commit: r1552965 - /commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/sevenz/SevenZOutputFileTest.java

Author: bodewig
Date: Sun Dec 22 05:50:25 2013
New Revision: 1552965

URL: http://svn.apache.org/r1552965
Log:
One more test for COMPRESS-252 that extends both bitsets beyond one byte

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=1552965&r1=1552964&r2=1552965&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 Sun Dec 22 05:50:25 2013
@@ -205,6 +205,14 @@ public class SevenZOutputFileTest extend
         testCompress252(9, 2);
     }
 
+    public void testTwentyNineEmptyFiles() throws Exception {
+        testCompress252(29, 0);
+    }
+
+    public void testTwentyNineFilesSomeNotEmpty() throws Exception {
+        testCompress252(29, 7);
+    }
+
     private void testCompress252(int numberOfFiles, int numberOfNonEmptyFiles)
         throws Exception {
         int nonEmptyModulus = numberOfNonEmptyFiles != 0