ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r420576 - in /ant/core/trunk/src: etc/testcases/taskdefs/subant.xml testcases/org/apache/tools/ant/taskdefs/SubAntTest.java
Date Mon, 10 Jul 2006 16:05:36 GMT
Author: jhm
Date: Mon Jul 10 09:05:35 2006
New Revision: 420576

URL: http://svn.apache.org/viewvc?rev=420576&view=rev
Log:
Let the base class do the job.

Modified:
    ant/core/trunk/src/etc/testcases/taskdefs/subant.xml
    ant/core/trunk/src/testcases/org/apache/tools/ant/taskdefs/SubAntTest.java

Modified: ant/core/trunk/src/etc/testcases/taskdefs/subant.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/etc/testcases/taskdefs/subant.xml?rev=420576&r1=420575&r2=420576&view=diff
==============================================================================
--- ant/core/trunk/src/etc/testcases/taskdefs/subant.xml (original)
+++ ant/core/trunk/src/etc/testcases/taskdefs/subant.xml Mon Jul 10 09:05:35 2006
@@ -1,7 +1,7 @@
 <?xml version="1.0"?>
 
 <project name="subant-test" basedir="." default="testgenericantfile">
-    <target name="testnodirs" depends="cleanup">
+    <target name="testnodirs" depends="tearDown">
         <subant genericantfile="subant/genericsubant.xml">
             <dirset dir="." includes="subant-test*"/>
         </subant>
@@ -43,7 +43,7 @@
         </subant>
     </target>
 
-    <target name="cleanup">
+    <target name="tearDown">
         <!-- nothing to do -->
     </target>
 </project>

Modified: ant/core/trunk/src/testcases/org/apache/tools/ant/taskdefs/SubAntTest.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/testcases/org/apache/tools/ant/taskdefs/SubAntTest.java?rev=420576&r1=420575&r2=420576&view=diff
==============================================================================
--- ant/core/trunk/src/testcases/org/apache/tools/ant/taskdefs/SubAntTest.java (original)
+++ ant/core/trunk/src/testcases/org/apache/tools/ant/taskdefs/SubAntTest.java Mon Jul 10
09:05:35 2006
@@ -36,10 +36,6 @@
         configureProject("src/etc/testcases/taskdefs/subant.xml");
     }
 
-    public void tearDown() {
-        executeTarget("cleanup");
-    }
-
     public void testnodirs() {
         project.executeTarget("testnodirs");
         expectLog("testnodirs", "No sub-builds to iterate on");



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


Mime
View raw message