Author: bodewig
Date: Thu Aug 20 04:07:49 2009
New Revision: 806041
URL: http://svn.apache.org/viewvc?rev=806041&view=rev
Log:
complete property tests for archives created with native tools
Modified:
ant/sandbox/antlibs/compress/trunk/src/tests/antunit/arentry-test.xml
ant/sandbox/antlibs/compress/trunk/src/tests/antunit/cpioentry-test.xml
ant/sandbox/antlibs/compress/trunk/src/tests/antunit/tarentry-test.xml
ant/sandbox/antlibs/compress/trunk/src/tests/antunit/zipentry-test.xml
Modified: ant/sandbox/antlibs/compress/trunk/src/tests/antunit/arentry-test.xml
URL:
http://svn.apache.org/viewvc/ant/sandbox/antlibs/compress/trunk/src/tests/antunit/arentry-test.xml?rev=806041&r1=806040&r2=806041&view=diff
==============================================================================
--- ant/sandbox/antlibs/compress/trunk/src/tests/antunit/arentry-test.xml
(original)
+++ ant/sandbox/antlibs/compress/trunk/src/tests/antunit/arentry-test.xml Thu
Aug 20 04:07:49 2009
@@ -47,5 +47,26 @@
</cmp:arentry>
</cond:islastmodified>
</au:assertTrue>
+ <au:assertTrue>
+ <cmp:hasuserid id="1000">
+ <cmp:arentry name="asf-logo.gif">
+ <file file="../resources/asf-logo.gif.ar"/>
+ </cmp:arentry>
+ </cmp:hasuserid>
+ </au:assertTrue>
+ <au:assertTrue>
+ <cmp:hasgroupid id="1000">
+ <cmp:arentry name="asf-logo.gif">
+ <file file="../resources/asf-logo.gif.ar"/>
+ </cmp:arentry>
+ </cmp:hasgroupid>
+ </au:assertTrue>
+ <au:assertTrue>
+ <cmp:hasmode mode="100644">
+ <cmp:arentry name="asf-logo.gif">
+ <file file="../resources/asf-logo.gif.ar"/>
+ </cmp:arentry>
+ </cmp:hasmode>
+ </au:assertTrue>
</target>
</project>
Modified:
ant/sandbox/antlibs/compress/trunk/src/tests/antunit/cpioentry-test.xml
URL:
http://svn.apache.org/viewvc/ant/sandbox/antlibs/compress/trunk/src/tests/antunit/cpioentry-test.xml?rev=806041&r1=806040&r2=806041&view=diff
==============================================================================
--- ant/sandbox/antlibs/compress/trunk/src/tests/antunit/cpioentry-test.xml
(original)
+++ ant/sandbox/antlibs/compress/trunk/src/tests/antunit/cpioentry-test.xml Thu
Aug 20 04:07:49 2009
@@ -47,5 +47,26 @@
</cmp:cpioentry>
</cond:islastmodified>
</au:assertTrue>
+ <au:assertTrue>
+ <cmp:hasuserid id="1000">
+ <cmp:cpioentry name="asf-logo.gif">
+ <file file="../resources/asf-logo.gif.cpio"/>
+ </cmp:cpioentry>
+ </cmp:hasuserid>
+ </au:assertTrue>
+ <au:assertTrue>
+ <cmp:hasgroupid id="1000">
+ <cmp:cpioentry name="asf-logo.gif">
+ <file file="../resources/asf-logo.gif.cpio"/>
+ </cmp:cpioentry>
+ </cmp:hasgroupid>
+ </au:assertTrue>
+ <au:assertTrue>
+ <cmp:hasmode mode="33188">
+ <cmp:cpioentry name="asf-logo.gif">
+ <file file="../resources/asf-logo.gif.cpio"/>
+ </cmp:cpioentry>
+ </cmp:hasmode>
+ </au:assertTrue>
</target>
</project>
Modified: ant/sandbox/antlibs/compress/trunk/src/tests/antunit/tarentry-test.xml
URL:
http://svn.apache.org/viewvc/ant/sandbox/antlibs/compress/trunk/src/tests/antunit/tarentry-test.xml?rev=806041&r1=806040&r2=806041&view=diff
==============================================================================
--- ant/sandbox/antlibs/compress/trunk/src/tests/antunit/tarentry-test.xml
(original)
+++ ant/sandbox/antlibs/compress/trunk/src/tests/antunit/tarentry-test.xml Thu
Aug 20 04:07:49 2009
@@ -78,5 +78,26 @@
</cmp:tarentry>
</cmp:hasgroupname>
</au:assertTrue>
+ <au:assertTrue>
+ <cmp:hasuserid id="500">
+ <cmp:tarentry name="asf-logo.gif">
+ <file file="../resources/asf-logo.gif.tar"/>
+ </cmp:tarentry>
+ </cmp:hasuserid>
+ </au:assertTrue>
+ <au:assertTrue>
+ <cmp:hasgroupid id="500">
+ <cmp:tarentry name="asf-logo.gif">
+ <file file="../resources/asf-logo.gif.tar"/>
+ </cmp:tarentry>
+ </cmp:hasgroupid>
+ </au:assertTrue>
+ <au:assertTrue>
+ <cmp:hasmode mode="33188">
+ <cmp:tarentry name="asf-logo.gif">
+ <file file="../resources/asf-logo.gif.tar"/>
+ </cmp:tarentry>
+ </cmp:hasmode>
+ </au:assertTrue>
</target>
</project>
Modified: ant/sandbox/antlibs/compress/trunk/src/tests/antunit/zipentry-test.xml
URL:
http://svn.apache.org/viewvc/ant/sandbox/antlibs/compress/trunk/src/tests/antunit/zipentry-test.xml?rev=806041&r1=806040&r2=806041&view=diff
==============================================================================
--- ant/sandbox/antlibs/compress/trunk/src/tests/antunit/zipentry-test.xml
(original)
+++ ant/sandbox/antlibs/compress/trunk/src/tests/antunit/zipentry-test.xml Thu
Aug 20 04:07:49 2009
@@ -64,5 +64,12 @@
</cmp:zipentry>
</cond:islastmodified>
</au:assertTrue>
+ <au:assertTrue>
+ <cmp:hasmode mode="33188">
+ <cmp:zipentry name="asf-logo.gif">
+ <file file="../resources/asf-logo.gif.zip"/>
+ </cmp:zipentry>
+ </cmp:hasmode>
+ </au:assertTrue>
</target>
</project>