commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krosenv...@apache.org
Subject svn commit: r1647798 - /commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/zip/ZipUtilTest.java
Date Wed, 24 Dec 2014 14:47:36 GMT
Author: krosenvold
Date: Wed Dec 24 14:47:35 2014
New Revision: 1647798

URL: http://svn.apache.org/r1647798
Log:
Removed testcase added in previous commit.

It seems like OpenJDK calendar operations are somewhat different from sun jdk, so this is
not a viable test to make

Modified:
    commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/zip/ZipUtilTest.java

Modified: commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/zip/ZipUtilTest.java
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/zip/ZipUtilTest.java?rev=1647798&r1=1647797&r2=1647798&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/zip/ZipUtilTest.java
(original)
+++ commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/zip/ZipUtilTest.java
Wed Dec 24 14:47:35 2014
@@ -94,14 +94,6 @@ public class ZipUtilTest extends TestCas
         assertEquals(0, b1[3]);
     }
 
-    public void testInsideCalendar(){
-        byte[] b1 = ZipUtil.toDosTime(476096400000L); // 1.1.1985, 10:00 am
-        assertEquals(0, b1[0]);
-        assertEquals(80, b1[1]);
-        assertEquals(65, b1[2]);
-        assertEquals(10, b1[3]);
-    }
-
     public void testReverse() {
         byte[][] bTest = new byte[6][];
         bTest[0] = new byte[]{};



Mime
View raw message