Ouch!  What was I thinking?

I think I must have been debugging the unit test and put the
System.exit line in to force a stop.  (then forgotten to take it out).

WILL

On 9/16/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Author: henning
Date: Sat Sep 16 05:25:11 2006
New Revision: 446865

URL: http://svn.apache.org/viewvc?view=rev&rev=446865
Log:
System.exit(1) might be a bit harsh...

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

Modified: 
jakarta/velocity/engine/trunk/src/test/org/apache/velocity/test/AbsoluteFileResourceLoaderTestCase.java
URL: 
http://svn.apache.org/viewvc/jakarta/velocity/engine/trunk/src/test/org/apache/velocity/test/AbsoluteFileResourceLoaderTestCase.java?view=diff&rev=446865&r1=446864&r2=446865
==============================================================================
--- 
jakarta/velocity/engine/trunk/src/test/org/apache/velocity/test/AbsoluteFileResourceLoaderTestCase.java
 (original)
+++ 
jakarta/velocity/engine/trunk/src/test/org/apache/velocity/test/AbsoluteFileResourceLoaderTestCase.java
 Sat Sep 16 05:25:11 2006
@@ -87,9 +87,7 @@
         }
         catch (Exception e)
         {
-            System.err.println("Cannot setup AbsoluteFileResourceLoaderTest!");
-            e.printStackTrace();
-            System.exit(1);
+            fail("Cannot setup AbsoluteFileResourceLoaderTest!");
         }
     }




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Forio Business Simulations

Will Glass-Husain
[EMAIL PROTECTED]
www.forio.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to