ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From k...@apache.org
Subject svn commit: r536740 - in /ant/core/trunk/src/tests/antunit/taskdefs: delete-test.xml javac-test.xml pathconvert-test.xml war-test.xml whichresource-test.xml
Date Thu, 10 May 2007 04:42:27 GMT
Author: kevj
Date: Wed May  9 21:42:26 2007
New Revision: 536740

URL: http://svn.apache.org/viewvc?view=rev&rev=536740
Log:
-use antunit-base

Modified:
    ant/core/trunk/src/tests/antunit/taskdefs/delete-test.xml
    ant/core/trunk/src/tests/antunit/taskdefs/javac-test.xml
    ant/core/trunk/src/tests/antunit/taskdefs/pathconvert-test.xml
    ant/core/trunk/src/tests/antunit/taskdefs/war-test.xml
    ant/core/trunk/src/tests/antunit/taskdefs/whichresource-test.xml

Modified: ant/core/trunk/src/tests/antunit/taskdefs/delete-test.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/antunit/taskdefs/delete-test.xml?view=diff&rev=536740&r1=536739&r2=536740
==============================================================================
--- ant/core/trunk/src/tests/antunit/taskdefs/delete-test.xml (original)
+++ ant/core/trunk/src/tests/antunit/taskdefs/delete-test.xml Wed May  9 21:42:26 2007
@@ -1,18 +1,12 @@
 <?xml version="1.0"?>
 
-<project name="delete-test" basedir="." default="all"
+<project name="delete-test" basedir="." default="antunit"
        xmlns:au="antlib:org.apache.ant.antunit">
   <property name="working.dir" value="working"/>
   <property name="existing.dir" value="working/exists"/>
   <property name="nonexistent.dir" value="working/nonexists"/>
 	
-  <target name="all">
-    <au:antunit>
-      <fileset file="${ant.file}"/>
-      <au:plainlistener/>
-    </au:antunit>
-  </target>
-
+  <import file="../antunit-base.xml" />
 
   <target name="init">
     <delete dir="${working.dir}"/>

Modified: ant/core/trunk/src/tests/antunit/taskdefs/javac-test.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/antunit/taskdefs/javac-test.xml?view=diff&rev=536740&r1=536739&r2=536740
==============================================================================
--- ant/core/trunk/src/tests/antunit/taskdefs/javac-test.xml (original)
+++ ant/core/trunk/src/tests/antunit/taskdefs/javac-test.xml Wed May  9 21:42:26 2007
@@ -1,4 +1,6 @@
-<project default="all" xmlns:au="antlib:org.apache.ant.antunit">
+<project default="antunit" xmlns:au="antlib:org.apache.ant.antunit">
+  <import file="../antunit-base.xml" />
+
   <property name="ant-build" location="../../../../build"/>
   <property name="build-dir" location="${ant-build}/ant-unit/javac-dir/build"/>
   
@@ -32,11 +34,5 @@
     <au:assertTrue>
       <equals arg1="${compile-failed}" arg2="true"/>
     </au:assertTrue>
-  </target>
-  <target name="all">
-    <au:antunit>
-      <fileset file="${ant.file}"/>
-      <au:plainlistener/>
-    </au:antunit>
   </target>
 </project>

Modified: ant/core/trunk/src/tests/antunit/taskdefs/pathconvert-test.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/antunit/taskdefs/pathconvert-test.xml?view=diff&rev=536740&r1=536739&r2=536740
==============================================================================
--- ant/core/trunk/src/tests/antunit/taskdefs/pathconvert-test.xml (original)
+++ ant/core/trunk/src/tests/antunit/taskdefs/pathconvert-test.xml Wed May  9 21:42:26 2007
@@ -1,4 +1,5 @@
-<project default="all" xmlns:au="antlib:org.apache.ant.antunit">
+<project default="antunit" xmlns:au="antlib:org.apache.ant.antunit">
+  <import file="../antunit-base.xml" />
 
   <target name="test-dir-char">
     <pathconvert property="def|ghi" dirsep="|">
@@ -10,10 +11,4 @@
     </au:assertTrue>
   </target>
 
-  <target name="all">
-    <au:antunit>
-      <fileset file="${ant.file}"/>
-      <au:plainlistener/>
-    </au:antunit>
-  </target>
 </project>

Modified: ant/core/trunk/src/tests/antunit/taskdefs/war-test.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/antunit/taskdefs/war-test.xml?view=diff&rev=536740&r1=536739&r2=536740
==============================================================================
--- ant/core/trunk/src/tests/antunit/taskdefs/war-test.xml (original)
+++ ant/core/trunk/src/tests/antunit/taskdefs/war-test.xml Wed May  9 21:42:26 2007
@@ -1,16 +1,10 @@
 <?xml version="1.0"?>
 
-<project name="war-test" basedir="." default="all"
+<project name="war-test" basedir="." default="antunit"
        xmlns:au="antlib:org.apache.ant.antunit">
   <property name="working.dir" value="working"/>
 
-  <target name="all">
-    <au:antunit>
-      <fileset file="${ant.file}"/>
-      <au:plainlistener/>
-    </au:antunit>
-  </target>
-
+  <import file="../antunit-base.xml" />
 
   <target name="init">
     <delete dir="${working.dir}"/>

Modified: ant/core/trunk/src/tests/antunit/taskdefs/whichresource-test.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/antunit/taskdefs/whichresource-test.xml?view=diff&rev=536740&r1=536739&r2=536740
==============================================================================
--- ant/core/trunk/src/tests/antunit/taskdefs/whichresource-test.xml (original)
+++ ant/core/trunk/src/tests/antunit/taskdefs/whichresource-test.xml Wed May  9 21:42:26 2007
@@ -1,4 +1,6 @@
-<project default="all" xmlns:au="antlib:org.apache.ant.antunit">
+<project default="antunit" xmlns:au="antlib:org.apache.ant.antunit">
+  <import file="../antunit-base.xml" />
+
   <property name="ant-build" location="../../../../build"/>
   <property name="build-dir" 
             location="${ant-build}/ant-unit/whichresource/build"/>
@@ -32,11 +34,5 @@
       <isset property="whichresource.prop2"/>
     </au:assertFalse>
   </target>
-
-  <target name="all">
-    <au:antunit>
-      <fileset file="${ant.file}"/>
-      <au:plainlistener/>
-    </au:antunit>
-  </target>
+    
 </project>



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


Mime
View raw message