ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r722962 - /ant/core/trunk/src/tests/antunit/taskdefs/dependset-test.xml
Date Wed, 03 Dec 2008 16:41:01 GMT
Author: bodewig
Date: Wed Dec  3 08:41:01 2008
New Revision: 722962

URL: http://svn.apache.org/viewvc?rev=722962&view=rev
Log:
use meaningful target names

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

Modified: ant/core/trunk/src/tests/antunit/taskdefs/dependset-test.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/antunit/taskdefs/dependset-test.xml?rev=722962&r1=722961&r2=722962&view=diff
==============================================================================
--- ant/core/trunk/src/tests/antunit/taskdefs/dependset-test.xml (original)
+++ ant/core/trunk/src/tests/antunit/taskdefs/dependset-test.xml Wed Dec  3 08:41:01 2008
@@ -26,13 +26,13 @@
     <mkdir dir="${output}"/>
   </target>
 
-  <target name="test1">
+  <target name="testNoSourcesOrTargets">
     <au:expectfailure expectedMessage="At least one set of source resources must be specified">
       <dependset />
     </au:expectfailure>
   </target>
 
-  <target name="test2">
+  <target name="testNoTargets">
     <au:expectfailure expectedMessage="At least one set of target files must be specified">
       <dependset>
         <srcfilelist dir="." files="test2.tmp" />
@@ -40,7 +40,7 @@
     </au:expectfailure>
   </target>
 
-  <target name="test3">
+  <target name="testNoSources">
     <au:expectfailure expectedMessage="At least one set of source resources must be specified">
       <dependset>
         <targetfileset dir="." includes="test3.tmp" />
@@ -48,7 +48,7 @@
     </au:expectfailure>
   </target>
 
-  <target name="test4" depends="setUp">
+  <target name="testMissingTargets" depends="setUp">
     <touch file="${input}/test4.tmp" />
     <dependset>
       <srcfilelist dir="${input}" files="test4.tmp" />
@@ -56,7 +56,7 @@
     </dependset>
   </target>
 
-  <target name="test5" depends="setUp">
+  <target name="testMoreRecentSourceFile" depends="setUp">
     <touch file="${output}/older.tmp" />
     <sleep seconds="3" />
     <touch file="${input}/newer.tmp" />
@@ -67,7 +67,7 @@
     <au:assertFileDoesntExist file="${output}/older.tmp"/>
   </target>
 
-  <target name="test6" depends="setUp">
+  <target name="testMultipleFiles" depends="setUp">
     <touch file="${input}/sourceset_1.tmp" />
     <touch file="${output}/targetset_1.tmp" />
     <sleep seconds="3" />
@@ -86,7 +86,7 @@
     <au:assertFileDoesntExist file="${output}/targetset_2.tmp" />
   </target>
 
-  <target name="test7" depends="setUp">
+  <target name="testMissingSourceResource" depends="setUp">
     <touch file="${output}/older.tmp" />
     <dependset>
       <sources>
@@ -99,7 +99,7 @@
     <au:assertFileDoesntExist file="${output}/older.tmp" />
   </target>
 
-  <target name="test8" depends="setUp">
+  <target name="testExistingSourceResource" depends="setUp">
     <touch file="${output}/older.tmp" />
     <property name="foo" value="bar" />
     <dependset>
@@ -113,7 +113,7 @@
     <au:assertFileExists file="${output}/older.tmp" />
   </target>
 
-  <target name="test9" depends="setUp">
+  <target name="testMissingTargetDirectory" depends="setUp">
     <au:assertFalse>
       <available file="${output}/test9dir" type="dir" />
     </au:assertFalse>



Mime
View raw message