| <?xml version="1.0"?> |
| |
| <project name="xxx-test" basedir="." default="test1"> |
| |
| <target name="test1"> |
| <gunzip/> |
| </target> |
| |
| <target name="test2"> |
| <gunzip src=""/> |
| </target> |
| |
| <target name="cleanup"> |
| <delete file="asf-logo.gif" /> |
| </target> |
| |
| <target name="testGzipTask"> |
| <ant antfile="gzip.xml" target="realTest" /> |
| <gunzip src="asf-logo.gif.gz" dest="asf-logo.gif" /> |
| <ant antfile="gzip.xml" target="cleanup" /> |
| </target> |
| |
| <target name="realTest"> |
| <gunzip src="expected/asf-logo.gif.gz" dest="asf-logo.gif" /> |
| </target> |
| |
| <target name="realTestWithResource"> |
| <gunzip dest="asf-logo.gif"> |
| <file file="expected/asf-logo.gif.gz"/> |
| </gunzip> |
| </target> |
| |
| <target name="testDocumentationClaimsOnCopy"> |
| <copy todir="."> |
| <gzipresource> |
| <file file="expected/asf-logo.gif.gz"/> |
| </gzipresource> |
| <mapper type="glob" from="*.gz" to="*"/> |
| </copy> |
| </target> |
| |
| </project> |