conor 02/03/11 03:54:09
Modified: src/testcases/org/apache/tools/ant/taskdefs ZipTest.java
Log:
JDK 1.4 compatability
Revision Changes Path
1.9 +5 -5
jakarta-ant/src/testcases/org/apache/tools/ant/taskdefs/ZipTest.java
Index: ZipTest.java
===================================================================
RCS file:
/home/cvs/jakarta-ant/src/testcases/org/apache/tools/ant/taskdefs/ZipTest.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -w -u -r1.8 -r1.9
--- ZipTest.java 3 Mar 2002 06:52:07 -0000 1.8
+++ ZipTest.java 11 Mar 2002 11:54:09 -0000 1.9
@@ -116,12 +116,12 @@
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();
}
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>