ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From k...@apache.org
Subject svn commit: r543847 - /ant/sandbox/antlibs/debian/trunk/src/tests/antunit/remove-test.xml
Date Sun, 03 Jun 2007 06:18:19 GMT
Author: kevj
Date: Sat Jun  2 23:18:18 2007
New Revision: 543847

URL: http://svn.apache.org/viewvc?view=rev&rev=543847
Log:
-skeleton remove test

Added:
    ant/sandbox/antlibs/debian/trunk/src/tests/antunit/remove-test.xml

Added: ant/sandbox/antlibs/debian/trunk/src/tests/antunit/remove-test.xml
URL: http://svn.apache.org/viewvc/ant/sandbox/antlibs/debian/trunk/src/tests/antunit/remove-test.xml?view=auto&rev=543847
==============================================================================
--- ant/sandbox/antlibs/debian/trunk/src/tests/antunit/remove-test.xml (added)
+++ ant/sandbox/antlibs/debian/trunk/src/tests/antunit/remove-test.xml Sat Jun  2 23:18:18
2007
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<project default="all" 
+  xmlns:au="antlib:org.apache.ant.antunit"
+  xmlns:deb="antlib:org.apache.ant.debian">
+
+  <property name="package" value=""/>
+  <property name="installed" value=""/>
+
+  <target name="test-remove">
+    <deb:remove packagename="${package}"/>
+    <au:assertFileDoesntExist file="${installed}"/>
+  </target>
+  
+  <target name="all">
+    <au:antunit>
+      <fileset file="${ant.file}"/>
+      <au:plainlistener/>
+    </au:antunit>
+  </target>
+</project>
\ No newline at end of file



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message