ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From k...@apache.org
Subject svn commit: r486582 - /ant/core/trunk/src/tests/antunit/taskdefs/condition/hasfreespace-test.xml
Date Wed, 13 Dec 2006 10:12:35 GMT
Author: kevj
Date: Wed Dec 13 02:12:35 2006
New Revision: 486582

URL: http://svn.apache.org/viewvc?view=rev&rev=486582
Log:
-further refactoring as suggested by peter

Modified:
    ant/core/trunk/src/tests/antunit/taskdefs/condition/hasfreespace-test.xml

Modified: ant/core/trunk/src/tests/antunit/taskdefs/condition/hasfreespace-test.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/antunit/taskdefs/condition/hasfreespace-test.xml?view=diff&rev=486582&r1=486581&r2=486582
==============================================================================
--- ant/core/trunk/src/tests/antunit/taskdefs/condition/hasfreespace-test.xml (original)
+++ ant/core/trunk/src/tests/antunit/taskdefs/condition/hasfreespace-test.xml Wed Dec 13 02:12:35
2006
@@ -3,32 +3,32 @@
 
   <available property="jdk6.available" classname="java.util.ServiceLoader"/>
 		
-  <target name="test-not-enough-space-human">
+  <target name="test-not-enough-space-human" if="jdk6.available">
     <au:assertFalse>
       <hasfreespace partition="c:" needed="1P"/>			
     </au:assertFalse>	
   </target>
 
-  <target name="test-enough-space-human">
+  <target name="test-enough-space-human" if="jdk6.available">
     <au:assertTrue>
       <hasfreespace partition="c:" needed="1K"/>			
     </au:assertTrue>	
   </target>
 
-  <target name="test-not-enough-space">
+  <target name="test-not-enough-space" if="jdk6.available">
   	<property name="long.max-value" value="9223372036854775807"/>
     <au:assertFalse>
    	  <hasfreespace partition="c:" needed="${long.max-value}"/>
     </au:assertFalse>
   </target>
 		
-  <target name="test-enough-space">
+  <target name="test-enough-space" if="jdk6.available">
     <au:assertTrue>
       <hasfreespace partition="c:" needed="1"/>			
     </au:assertTrue>	
   </target>
 
-  <target name="all" if="jdk6.available">
+  <target name="all">
     <au:antunit>
       <fileset file="${ant.file}"/>
       <au:plainlistener/>



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


Mime
View raw message