ASF Bugzilla – Attachment 6402 Details for
Bug 12267
Add ability to unzip into separate folders
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
TestCase patch for mapper capability in Expand.java
UnzipTest.java_patchfile.txt (text/plain), 1.55 KB, created by
Mark Crocker
on 2003-05-18 01:34:52 UTC
(
hide
)
Description:
TestCase patch for mapper capability in Expand.java
Filename:
MIME Type:
Creator:
Mark Crocker
Created:
2003-05-18 01:34:52 UTC
Size:
1.55 KB
patch
obsolete
>Index: src/testcases/org/apache/tools/ant/taskdefs/UnzipTest.java >=================================================================== >RCS file: /home/cvspublic/ant/src/testcases/org/apache/tools/ant/taskdefs/UnzipTest.java,v >retrieving revision 1.9 >diff -b -u -r1.9 UnzipTest.java >--- src/testcases/org/apache/tools/ant/taskdefs/UnzipTest.java 24 Apr 2003 13:02:57 -0000 1.9 >+++ src/testcases/org/apache/tools/ant/taskdefs/UnzipTest.java 18 May 2003 01:24:59 -0000 >@@ -59,6 +59,7 @@ > /** > * @author Nico Seessle <nico@seessle.de> > * @author Stefan Bodewig >+ * @author <a href="http://www.markcrocker.com/~mcrocker/">Mark Crocker</a> > */ > public class UnzipTest extends BuildFileTest { > >@@ -141,6 +142,21 @@ > expectLogContaining("selfExtractingArchive", > "found a preamble of 38439 bytes, " > + "probably a self-extracting archive"); >+ } >+ >+ /* >+ * PR 12267 >+ */ >+ public void testExpandMapper() { >+ executeTarget("testExpandMapper"); >+ assertTrue("unzip.xml was not expanded", >+ getProject().resolveFile("unziptestout/unzip/unzip.xml").exists()); >+ assertTrue("gunzip.xml was not expanded", >+ getProject().resolveFile("unziptestout/unzip/gunzip.xml").exists()); >+ assertTrue("zip.xml was not expanded", >+ getProject().resolveFile("unziptestout/zip/zip.xml").exists()); >+ assertTrue("gzip.xml was not expanded", >+ getProject().resolveFile("unziptestout/zip/gzip.xml").exists()); > } > > }
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 12267
:
6401
| 6402 |
6403
|
6404