ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r738426 - /ant/antlibs/antunit/trunk/src/main/org/apache/ant/antunit/antlib.xml
Date Wed, 28 Jan 2009 09:55:10 GMT
Author: bodewig
Date: Wed Jan 28 09:55:10 2009
New Revision: 738426

URL: http://svn.apache.org/viewvc?rev=738426&view=rev
Log:
make assertResource(Doesnt)Contain(s) casesensitive flag do something useful

Modified:
    ant/antlibs/antunit/trunk/src/main/org/apache/ant/antunit/antlib.xml

Modified: ant/antlibs/antunit/trunk/src/main/org/apache/ant/antunit/antlib.xml
URL: http://svn.apache.org/viewvc/ant/antlibs/antunit/trunk/src/main/org/apache/ant/antunit/antlib.xml?rev=738426&r1=738425&r2=738426&view=diff
==============================================================================
--- ant/antlibs/antunit/trunk/src/main/org/apache/ant/antunit/antlib.xml (original)
+++ ant/antlibs/antunit/trunk/src/main/org/apache/ant/antunit/antlib.xml Wed Jan 28 09:55:10
2009
@@ -140,7 +140,8 @@
 	       default="Expected resource '@{resource}' to contain value '@{value}' but was '${@{resource}}'"/>
     <sequential>
       <au:assertTrue message="@{message}">
-	<resourcecontains resource="@{resource}" substring="@{value}"/>
+	<resourcecontains resource="@{resource}" substring="@{value}"
+                          casesensitive="@{casesensitive}"/>
       </au:assertTrue>
     </sequential>
   </macrodef>
@@ -153,7 +154,8 @@
 	       default="Didn't expect resource '@{resource}' to contain value '@{value}' but was
'${@{resource}}'"/>
     <sequential>
       <au:assertFalse message="@{message}">
-	<resourcecontains resource="@{resource}" substring="@{value}"/>
+	<resourcecontains resource="@{resource}" substring="@{value}"
+                          casesensitive="@{casesensitive}"/>
       </au:assertFalse>
     </sequential>
   </macrodef>



Mime
View raw message