commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r344021 - /jakarta/commons/proper/jelly/trunk/jelly-tags/junit/src/test/org/apache/commons/jelly/tags/junit/suite.jelly
Date Mon, 14 Nov 2005 02:38:07 GMT
Author: dion
Date: Sun Nov 13 18:38:02 2005
New Revision: 344021

URL: http://svn.apache.org/viewcvs?rev=344021&view=rev
Log:
Give the test case a name and the asserts some text

Modified:
    jakarta/commons/proper/jelly/trunk/jelly-tags/junit/src/test/org/apache/commons/jelly/tags/junit/suite.jelly

Modified: jakarta/commons/proper/jelly/trunk/jelly-tags/junit/src/test/org/apache/commons/jelly/tags/junit/suite.jelly
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/jelly/trunk/jelly-tags/junit/src/test/org/apache/commons/jelly/tags/junit/suite.jelly?rev=344021&r1=344020&r2=344021&view=diff
==============================================================================
--- jakarta/commons/proper/jelly/trunk/jelly-tags/junit/src/test/org/apache/commons/jelly/tags/junit/suite.jelly
(original)
+++ jakarta/commons/proper/jelly/trunk/jelly-tags/junit/src/test/org/apache/commons/jelly/tags/junit/suite.jelly
Sun Nov 13 18:38:02 2005
@@ -128,11 +128,11 @@
   </test:case>
 -->
 
-  <test:case>
-    <test:assertFileExists file="${basedir}/project.xml"/>
+  <test:case name="assertFileExists">
+    <test:assertFileExists file="${basedir}/project.xml">Project file not found</test:assertFileExists>
 
     <test:assertThrows var="ex">
-      <test:assertFileExists file="${basedir}/dummydummy"/>
+      <test:assertFileExists file="${basedir}/dummydummy">Bad file</test:assertFileExists>
     </test:assertThrows>
     <test:assert test="${ex != null}">No exception thrown for bad file</test:assert>
   </test:case>



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message