velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nbu...@apache.org
Subject svn commit: r685369 - /velocity/engine/trunk/src/test/org/apache/velocity/test/TemplateTestCase.java
Date Tue, 12 Aug 2008 23:35:12 GMT
Author: nbubna
Date: Tue Aug 12 16:35:12 2008
New Revision: 685369

URL: http://svn.apache.org/viewvc?rev=685369&view=rev
Log:
more error info (thx to Jarkko Viinamaki)

Modified:
    velocity/engine/trunk/src/test/org/apache/velocity/test/TemplateTestCase.java

Modified: velocity/engine/trunk/src/test/org/apache/velocity/test/TemplateTestCase.java
URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/test/org/apache/velocity/test/TemplateTestCase.java?rev=685369&r1=685368&r2=685369&view=diff
==============================================================================
--- velocity/engine/trunk/src/test/org/apache/velocity/test/TemplateTestCase.java (original)
+++ velocity/engine/trunk/src/test/org/apache/velocity/test/TemplateTestCase.java Tue Aug
12 16:35:12 2008
@@ -211,7 +211,8 @@
         if (!isMatch(RESULT_DIR,COMPARE_DIR,baseFileName,
                 RESULT_FILE_EXT,CMP_FILE_EXT))
         {
-            fail("Processed template did not match expected output");
+            fail("Processed template "+getFileName(
+                RESULT_DIR, baseFileName, RESULT_FILE_EXT)+" did not match expected output");
         }
     }
 }



Mime
View raw message