Author: mbenson
Date: Fri Feb 26 02:11:12 2010
New Revision: 916536

URL: http://svn.apache.org/viewvc?rev=916536&view=rev
Log:
add test demonstrating omission of nonexistent resources

Modified:
    ant/core/trunk/src/tests/antunit/types/resources/concat-resource-test.xml

Modified: 
ant/core/trunk/src/tests/antunit/types/resources/concat-resource-test.xml
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/src/tests/antunit/types/resources/concat-resource-test.xml?rev=916536&r1=916535&r2=916536&view=diff
==============================================================================
--- ant/core/trunk/src/tests/antunit/types/resources/concat-resource-test.xml 
(original)
+++ ant/core/trunk/src/tests/antunit/types/resources/concat-resource-test.xml 
Fri Feb 26 02:11:12 2010
@@ -125,4 +125,18 @@
       </and>
     </au:assertTrue>
   </target>
+
+  <target name="testNonexistent">
+    <au:assertTrue>
+      <resourcesmatch>
+        <string>foobar</string>
+        <concat>
+          <string>foo</string>
+          <propertyresource name="someunsetproperty" />
+          <string>bar</string>
+        </concat>
+      </resourcesmatch>
+    </au:assertTrue>
+  </target>
+
 </project>


Reply via email to