You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2011/01/23 08:08:23 UTC

svn commit: r1062337 - in /ant/core/trunk/src/tests/antunit: core/projecthelpers-test.xml core/uuencode/uuencode-test.xml filters/replacetokens-test.xml

Author: bodewig
Date: Sun Jan 23 07:08:23 2011
New Revision: 1062337

URL: http://svn.apache.org/viewvc?rev=1062337&view=rev
Log:
reduce the number of different directories tests compile classes to

Modified:
    ant/core/trunk/src/tests/antunit/core/projecthelpers-test.xml
    ant/core/trunk/src/tests/antunit/core/uuencode/uuencode-test.xml
    ant/core/trunk/src/tests/antunit/filters/replacetokens-test.xml

Modified: ant/core/trunk/src/tests/antunit/core/projecthelpers-test.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/antunit/core/projecthelpers-test.xml?rev=1062337&r1=1062336&r2=1062337&view=diff
==============================================================================
--- ant/core/trunk/src/tests/antunit/core/projecthelpers-test.xml (original)
+++ ant/core/trunk/src/tests/antunit/core/projecthelpers-test.xml Sun Jan 23 07:08:23 2011
@@ -19,8 +19,8 @@
 
   <import file="../antunit-base.xml"/>
 
-  <property name="projecthelperin" location="${java.io.tmpdir}/projecthelperinput"/>
-  <property name="projecthelperout" location="${java.io.tmpdir}/projecthelperoutput"/>
+  <property name="projecthelperin" location="${input}"/>
+  <property name="projecthelperout" location="${output}"/>
 
   <target name="compileHelpers">
     <mkdir dir="${projecthelperin}/org/apache/tools/ant"/>
@@ -83,8 +83,4 @@
     <ant antfile="projecthelpers/build-cross-extension.xml" />
   </target>
 
-  <target name="tearDown" depends="antunit-base.tearDown">
-    <delete dir="${projecthelperin}"/>
-    <delete dir="${projecthelperout}"/>
-  </target>
 </project>

Modified: ant/core/trunk/src/tests/antunit/core/uuencode/uuencode-test.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/antunit/core/uuencode/uuencode-test.xml?rev=1062337&r1=1062336&r2=1062337&view=diff
==============================================================================
--- ant/core/trunk/src/tests/antunit/core/uuencode/uuencode-test.xml (original)
+++ ant/core/trunk/src/tests/antunit/core/uuencode/uuencode-test.xml Sun Jan 23 07:08:23 2011
@@ -16,10 +16,12 @@
   limitations under the License.
 -->
 <project default="all" xmlns:au="antlib:org.apache.ant.antunit">
+  <import file="../../antunit-base.xml"/>
+
   <property name="ant.build.dir" location="../../../../../build"/>
   <property name="my.build.dir"
             location="${ant.build.dir}/ant-unit/uuencode-dir"/>
-  <property name="classes.dir" location="${my.build.dir}/classes"/>
+  <property name="classes.dir" location="${output}"/>
 
   <available property="sun.uudecode.avail" classname="sun.misc.UUDecoder"/>
 

Modified: ant/core/trunk/src/tests/antunit/filters/replacetokens-test.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/antunit/filters/replacetokens-test.xml?rev=1062337&r1=1062336&r2=1062337&view=diff
==============================================================================
--- ant/core/trunk/src/tests/antunit/filters/replacetokens-test.xml (original)
+++ ant/core/trunk/src/tests/antunit/filters/replacetokens-test.xml Sun Jan 23 07:08:23 2011
@@ -20,7 +20,7 @@
 
   <import file="../propertyhelpers.xml" as="ph"/>
 
-  <target name="tearDown" depends="antunit-base.tearDown,ph.tearDown">
+  <target name="tearDown" depends="antunit-base.tearDown">
     <delete dir="foo"/>
   </target>