ant-notifications mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=738418&view=rev
Log:
make assertPropertyContains 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=738418&r1=738417&r2=738418&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:44:06
2009
@@ -104,7 +104,8 @@
     <sequential>
       <au:assertPropertySet message="@{message}" name="@{name}"/>
       <au:assertTrue message="@{message}">
-        <contains string="@{name}" substring="@{value}"/>
+        <contains string="@{name}" substring="@{value}"
+                  casesensitive="@{casesensitive}"/>
       </au:assertTrue>
     </sequential>
   </macrodef>



Mime
View raw message