ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r916465 - /ant/antlibs/props/trunk/src/tests/antunit/condition-test.xml
Date Thu, 25 Feb 2010 21:19:24 GMT
Author: mbenson
Date: Thu Feb 25 21:19:24 2010
New Revision: 916465

URL: http://svn.apache.org/viewvc?rev=916465&view=rev
Log:
test istrue too

Modified:
    ant/antlibs/props/trunk/src/tests/antunit/condition-test.xml

Modified: ant/antlibs/props/trunk/src/tests/antunit/condition-test.xml
URL: http://svn.apache.org/viewvc/ant/antlibs/props/trunk/src/tests/antunit/condition-test.xml?rev=916465&r1=916464&r2=916465&view=diff
==============================================================================
--- ant/antlibs/props/trunk/src/tests/antunit/condition-test.xml (original)
+++ ant/antlibs/props/trunk/src/tests/antunit/condition-test.xml Thu Feb 25 21:19:24 2010
@@ -80,6 +80,18 @@
     </au:assertTrue>
   </target>
 
+  <target name="testIsTrue" depends="set-prop">
+    <au:assertTrue>
+      <istrue value="${equals(arg1=bar,arg2=${foo})}" />
+    </au:assertTrue>
+  </target>
+
+  <target name="testNotIsTrue" description="Pass is inconclusive">
+    <au:assertFalse>
+      <istrue value="${equals(arg1=bar,arg2=${foo})}" />
+    </au:assertFalse>
+  </target>
+
   <target name="antunit">
     <antunit xmlns="antlib:org.apache.ant.antunit">
       <plainlistener />



Mime
View raw message