velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nbu...@apache.org
Subject svn commit: r737463 - /velocity/engine/trunk/src/test/org/apache/velocity/test/BaseEvalTestCase.java
Date Sun, 25 Jan 2009 01:34:13 GMT
Author: nbubna
Date: Sun Jan 25 01:34:13 2009
New Revision: 737463

URL: http://svn.apache.org/viewvc?rev=737463&view=rev
Log:
don't run base test unless debugging

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

Modified: velocity/engine/trunk/src/test/org/apache/velocity/test/BaseEvalTestCase.java
URL: http://svn.apache.org/viewvc/velocity/engine/trunk/src/test/org/apache/velocity/test/BaseEvalTestCase.java?rev=737463&r1=737462&r2=737463&view=diff
==============================================================================
--- velocity/engine/trunk/src/test/org/apache/velocity/test/BaseEvalTestCase.java (original)
+++ velocity/engine/trunk/src/test/org/apache/velocity/test/BaseEvalTestCase.java Sun Jan
25 01:34:13 2009
@@ -67,8 +67,11 @@
 
     public void testBase()
     {
-        assertEvalEquals("","");
-        assertEvalEquals("abc\n123","abc\n123");
+        if (DEBUG)
+        {
+            assertEvalEquals("","");
+            assertEvalEquals("abc\n123","abc\n123");
+        }
     }
   
     protected void setProperties(VelocityEngine engine)



Mime
View raw message