Browse Source

JDK 1.4 compatability

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271816 13f79535-47bb-0310-9956-ffa450edef68
master
Conor MacNeill 23 years ago
parent
commit
85cd57c58e
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      src/testcases/org/apache/tools/ant/taskdefs/ZipTest.java

+ 5
- 5
src/testcases/org/apache/tools/ant/taskdefs/ZipTest.java View File

@@ -116,12 +116,12 @@ public class ZipTest extends BuildFileTest {

ZipFile zipFile = new ZipFile(new File(getProjectDir(), "zipgroupfileset.zip"));

assert(zipFile.getEntry("ant.xml") != null);
assert(zipFile.getEntry("optional/jspc.xml") != null);
assert(zipFile.getEntry("zip/zipgroupfileset3.zip") != null);
assertTrue(zipFile.getEntry("ant.xml") != null);
assertTrue(zipFile.getEntry("optional/jspc.xml") != null);
assertTrue(zipFile.getEntry("zip/zipgroupfileset3.zip") != null);

assert(zipFile.getEntry("test6.mf") == null);
assert(zipFile.getEntry("test7.mf") == null);
assertTrue(zipFile.getEntry("test6.mf") == null);
assertTrue(zipFile.getEntry("test7.mf") == null);

zipFile.close();
}


Loading…
Cancel
Save