You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by mb...@apache.org on 2007/05/14 17:22:04 UTC
svn commit: r537875 -
/ant/core/trunk/src/tests/antunit/taskdefs/condition/resourcecontains-test.xml
Author: mbenson
Date: Mon May 14 08:22:04 2007
New Revision: 537875
URL: http://svn.apache.org/viewvc?view=rev&rev=537875
Log:
add failing test
Modified:
ant/core/trunk/src/tests/antunit/taskdefs/condition/resourcecontains-test.xml
Modified: ant/core/trunk/src/tests/antunit/taskdefs/condition/resourcecontains-test.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/antunit/taskdefs/condition/resourcecontains-test.xml?view=diff&rev=537875&r1=537874&r2=537875
==============================================================================
--- ant/core/trunk/src/tests/antunit/taskdefs/condition/resourcecontains-test.xml (original)
+++ ant/core/trunk/src/tests/antunit/taskdefs/condition/resourcecontains-test.xml Mon May 14 08:22:04 2007
@@ -26,6 +26,13 @@
</au:assertTrue>
</target>
+ <target name="testContainsUpperNonCS">
+ <au:assertTrue message="Should have found the text in the resource">
+ <resourcecontains resource="${file}" substring="TEXT"
+ casesensitive="false"/>
+ </au:assertTrue>
+ </target>
+
<target name="testwithemptyfile">
<truncate file="${file}"/>
<au:assertFalse message="Should have found nothing as file is empty">
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org