You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2010/01/07 10:48:42 UTC
svn commit: r896823 -
/ant/core/trunk/src/tests/junit/org/apache/tools/zip/ZipEntryTest.java
Author: bodewig
Date: Thu Jan 7 09:48:05 2010
New Revision: 896823
URL: http://svn.apache.org/viewvc?rev=896823&view=rev
Log:
additional testcase
Modified:
ant/core/trunk/src/tests/junit/org/apache/tools/zip/ZipEntryTest.java (contents, props changed)
Modified: ant/core/trunk/src/tests/junit/org/apache/tools/zip/ZipEntryTest.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/junit/org/apache/tools/zip/ZipEntryTest.java?rev=896823&r1=896822&r2=896823&view=diff
==============================================================================
--- ant/core/trunk/src/tests/junit/org/apache/tools/zip/ZipEntryTest.java (original)
+++ ant/core/trunk/src/tests/junit/org/apache/tools/zip/ZipEntryTest.java Thu Jan 7 09:48:05 2010
@@ -195,4 +195,14 @@
assertEquals(0x11, ze.getExternalAttributes() & 0xFFFF);
}
+ /**
+ * Test case for
+ * <a href="https://issues.apache.org/jira/browse/COMPRESS-94"
+ * >COMPRESS-94</a>.
+ */
+ public void testNotEquals() {
+ ZipEntry entry1 = new ZipEntry("foo");
+ ZipEntry entry2 = new ZipEntry("bar");
+ assertFalse(entry1.equals(entry2));
+ }
}
Propchange: ant/core/trunk/src/tests/junit/org/apache/tools/zip/ZipEntryTest.java
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Thu Jan 7 09:48:05 2010
@@ -1 +1,2 @@
+/commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/zip/ZipArchiveEntryTest.java:896818
/commons/sandbox/compress/trunk/src/test/java/org/apache/commons/compress/archivers/zip/ZipArchiveEntryTest.java:749603