ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r911700 - in /ant/antlibs/compress/trunk/src/tests: antunit/uncpio-test.xml resources/asf-logo.gif.bin.cpio resources/asf-logo.gif.cpio resources/asf-logo.gif.crc.cpio resources/asf-logo.gif.new.cpio resources/asf-logo.gif.odc.cpio
Date Fri, 19 Feb 2010 04:56:13 GMT
Author: bodewig
Date: Fri Feb 19 04:56:13 2010
New Revision: 911700

URL: http://svn.apache.org/viewvc?rev=911700&view=rev
Log:
test uncpio against all four cpio formats

Added:
    ant/antlibs/compress/trunk/src/tests/resources/asf-logo.gif.bin.cpio   (props changed)
      - copied unchanged from r911699, ant/antlibs/compress/trunk/src/tests/resources/asf-logo.gif.cpio
    ant/antlibs/compress/trunk/src/tests/resources/asf-logo.gif.crc.cpio   (with props)
    ant/antlibs/compress/trunk/src/tests/resources/asf-logo.gif.new.cpio   (with props)
    ant/antlibs/compress/trunk/src/tests/resources/asf-logo.gif.odc.cpio   (with props)
Removed:
    ant/antlibs/compress/trunk/src/tests/resources/asf-logo.gif.cpio
Modified:
    ant/antlibs/compress/trunk/src/tests/antunit/uncpio-test.xml

Modified: ant/antlibs/compress/trunk/src/tests/antunit/uncpio-test.xml
URL: http://svn.apache.org/viewvc/ant/antlibs/compress/trunk/src/tests/antunit/uncpio-test.xml?rev=911700&r1=911699&r2=911700&view=diff
==============================================================================
--- ant/antlibs/compress/trunk/src/tests/antunit/uncpio-test.xml (original)
+++ ant/antlibs/compress/trunk/src/tests/antunit/uncpio-test.xml Fri Feb 19 04:56:13 2010
@@ -74,8 +74,35 @@
        />
   </target-->
 
-  <target name="testAgainstNativeCpio" depends="setUp">
-    <cmp:uncpio src="../resources/asf-logo.gif.cpio" dest="${output}" />
+  <target name="testAgainstNativeCpioBinary" depends="setUp">
+    <cmp:uncpio src="../resources/asf-logo.gif.bin.cpio" dest="${output}" />
+    <au:assertFileExists file="${output}/asf-logo.gif"/>
+    <au:assertFilesMatch
+       actual="${output}/asf-logo.gif"
+       expected="../resources/asf-logo.gif"
+       />
+  </target>
+
+  <target name="testAgainstNativeCpioOldAscii" depends="setUp">
+    <cmp:uncpio src="../resources/asf-logo.gif.odc.cpio" dest="${output}" />
+    <au:assertFileExists file="${output}/asf-logo.gif"/>
+    <au:assertFilesMatch
+       actual="${output}/asf-logo.gif"
+       expected="../resources/asf-logo.gif"
+       />
+  </target>
+
+  <target name="testAgainstNativeCpioNewAscii" depends="setUp">
+    <cmp:uncpio src="../resources/asf-logo.gif.new.cpio" dest="${output}" />
+    <au:assertFileExists file="${output}/asf-logo.gif"/>
+    <au:assertFilesMatch
+       actual="${output}/asf-logo.gif"
+       expected="../resources/asf-logo.gif"
+       />
+  </target>
+
+  <target name="testAgainstNativeCpioCRC" depends="setUp">
+    <cmp:uncpio src="../resources/asf-logo.gif.crc.cpio" dest="${output}" />
     <au:assertFileExists file="${output}/asf-logo.gif"/>
     <au:assertFilesMatch
        actual="${output}/asf-logo.gif"

Propchange: ant/antlibs/compress/trunk/src/tests/resources/asf-logo.gif.bin.cpio
------------------------------------------------------------------------------
    svn:mergeinfo = 

Propchange: ant/antlibs/compress/trunk/src/tests/resources/asf-logo.gif.bin.cpio
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ant/antlibs/compress/trunk/src/tests/resources/asf-logo.gif.crc.cpio
URL: http://svn.apache.org/viewvc/ant/antlibs/compress/trunk/src/tests/resources/asf-logo.gif.crc.cpio?rev=911700&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ant/antlibs/compress/trunk/src/tests/resources/asf-logo.gif.crc.cpio
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ant/antlibs/compress/trunk/src/tests/resources/asf-logo.gif.new.cpio
URL: http://svn.apache.org/viewvc/ant/antlibs/compress/trunk/src/tests/resources/asf-logo.gif.new.cpio?rev=911700&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ant/antlibs/compress/trunk/src/tests/resources/asf-logo.gif.new.cpio
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ant/antlibs/compress/trunk/src/tests/resources/asf-logo.gif.odc.cpio
URL: http://svn.apache.org/viewvc/ant/antlibs/compress/trunk/src/tests/resources/asf-logo.gif.odc.cpio?rev=911700&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ant/antlibs/compress/trunk/src/tests/resources/asf-logo.gif.odc.cpio
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream



Mime
View raw message