ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From k...@apache.org
Subject svn commit: r540519 - /ant/sandbox/antlibs/debian/trunk/src/tests/antunit/controlfile-test.xml
Date Tue, 22 May 2007 10:21:30 GMT
Author: kevj
Date: Tue May 22 03:21:24 2007
New Revision: 540519

URL: http://svn.apache.org/viewvc?view=rev&rev=540519
Log:
-use antlib autodiscovery mode

Modified:
    ant/sandbox/antlibs/debian/trunk/src/tests/antunit/controlfile-test.xml

Modified: ant/sandbox/antlibs/debian/trunk/src/tests/antunit/controlfile-test.xml
URL: http://svn.apache.org/viewvc/ant/sandbox/antlibs/debian/trunk/src/tests/antunit/controlfile-test.xml?view=diff&rev=540519&r1=540518&r2=540519
==============================================================================
--- ant/sandbox/antlibs/debian/trunk/src/tests/antunit/controlfile-test.xml (original)
+++ ant/sandbox/antlibs/debian/trunk/src/tests/antunit/controlfile-test.xml Tue May 22 03:21:24
2007
@@ -1,24 +1,20 @@
 <?xml version="1.0"?>
-<project default="all" xmlns:au="antlib:org.apache.ant.antunit">
+<project default="all" 
+	xmlns:au="antlib:org.apache.ant.antunit"
+	xmlns:deb="antlib:org.apache.ant.debian">
 
     <property name="testfile" value="cf"/>
 
-    <target name="setUp">
-        <taskdef name="control"
-          classname="org.apache.ant.debian.ControlFileTask"
-        />
-    </target>
-
     <target name="tearDown">
       <delete file="${java.io.tmpdir}/${testfile}"/>
     </target>
 
     <target name="testControlFileCreated">
       <au:assertFileDoesntExist file="${java.io.tmpdir}/${testfile}"/>
-      <control file="${java.io.tmpdir}/${testfile}" package="ant" version="1.71alpha"
maintainer="kevj@apache.org">
+      <deb:control file="${java.io.tmpdir}/${testfile}" package="ant" version="1.71alpha"
maintainer="kevj@apache.org">
         <dependency name="test1"/>
         <dependency name="test2"/>
-      </control>
+      </deb:control>
       <au:assertFileExists file="${java.io.tmpdir}/${testfile}"/>
     </target>
 



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


Mime
View raw message