ASF Bugzilla – Attachment 33846 Details for
Bug 59562
Regexp mapper + Zip task on Windows
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
JUnit test case
ZipTest.java.patch (text/plain), 690 bytes, created by
Gilles QUERRET
on 2016-05-17 14:45:31 UTC
(
hide
)
Description:
JUnit test case
Filename:
MIME Type:
Creator:
Gilles QUERRET
Created:
2016-05-17 14:45:31 UTC
Size:
690 bytes
patch
obsolete
>diff --git a/src/tests/junit/org/apache/tools/ant/taskdefs/ZipTest.java b/src/tests/junit/org/apache/tools/ant/taskdefs/ZipTest.java >index 5a7a359..f20ab28 100644 >--- a/src/tests/junit/org/apache/tools/ant/taskdefs/ZipTest.java >+++ b/src/tests/junit/org/apache/tools/ant/taskdefs/ZipTest.java >@@ -297,4 +297,13 @@ > } > } > >+ @Test >+ public void testRegexpMapper() throws IOException { >+ buildRule.executeTarget("testRegexpMapper1"); >+ File testFile = new File(buildRule.getOutputDir(), "regexp.zip"); >+ long l = testFile.lastModified(); >+ buildRule.executeTarget("testRegexpMapper2"); >+ assertEquals(l, testFile.lastModified()); >+ >+ } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 59562
: 33846 |
33847