ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r568635 - /ant/core/trunk/src/tests/antunit/types/fileset-test.xml
Date Wed, 22 Aug 2007 14:54:34 GMT
Author: mbenson
Date: Wed Aug 22 07:54:34 2007
New Revision: 568635

URL: http://svn.apache.org/viewvc?rev=568635&view=rev
Log:
demonstrate missingdir fileset exists but is empty

Modified:
    ant/core/trunk/src/tests/antunit/types/fileset-test.xml

Modified: ant/core/trunk/src/tests/antunit/types/fileset-test.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/antunit/types/fileset-test.xml?rev=568635&r1=568634&r2=568635&view=diff
==============================================================================
--- ant/core/trunk/src/tests/antunit/types/fileset-test.xml (original)
+++ ant/core/trunk/src/tests/antunit/types/fileset-test.xml Wed Aug 22 07:54:34 2007
@@ -2,11 +2,14 @@
 
   <target name="test-fileset-missing-dir">
     <path id="missing.path.id">
-      <fileset dir="not present"
+      <fileset id="missing.dir.fs" dir="not present"
                erroronmissingdir="false"/>
     </path>
     <au:assertTrue>
-      <equals arg1="" arg2="${toString:missing.path.id}"/>
+      <and>
+        <equals arg1="" arg2="${toString:missing.path.id}"/>
+        <resourcecount count="0" refid="missing.dir.fs" />
+      </and>
     </au:assertTrue>
   </target>
 



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


Mime
View raw message