commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Steitz <p...@steitz.com>
Subject Re: cvs commit: jakarta-commons/math/src/test/org/apache/commons/math/stat/univariate ListUnivariateImpl.java
Date Sun, 23 May 2004 01:40:45 GMT
We should also fix the "swallowing" behavior -- i.e., a test case should
never swallow an exception and just dump a stack trace.  If the test case 
throws an unexpected exception, the test should fail.  I have been fixing 
these by changing the test method signature to throws Exception.  This 
also eliminates the need to import MathException everywhere.


---------------------------------------------------------------------
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