You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by di...@apache.org on 2005/11/14 03:38:07 UTC
svn commit: r344021 -
/jakarta/commons/proper/jelly/trunk/jelly-tags/junit/src/test/org/apache/commons/jelly/tags/junit/suite.jelly
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