leif 02/02/12 19:27:47
Modified: src/java/org/apache/avalon/excalibur/testcase
ExcaliburTestCase.java
Log:
Errors thrown by test cases were being rethrown as failues making it
impossible to find the original problem.
Revision Changes Path
1.17 +2 -2
jakarta-avalon-excalibur/src/java/org/apache/avalon/excalibur/testcase/ExcaliburTestCase.java
Index: ExcaliburTestCase.java
===================================================================
RCS file:
/home/cvs/jakarta-avalon-excalibur/src/java/org/apache/avalon/excalibur/testcase/ExcaliburTestCase.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- ExcaliburTestCase.java 2 Feb 2002 10:30:17 -0000 1.16
+++ ExcaliburTestCase.java 13 Feb 2002 03:27:47 -0000 1.17
@@ -146,7 +146,7 @@
* </pre>
*
* @author <a href="mailto:[EMAIL PROTECTED]">Giacomo Pati</a>
- * @version $Id: ExcaliburTestCase.java,v 1.16 2002/02/02 10:30:17 donaldp
Exp $
+ * @version $Id: ExcaliburTestCase.java,v 1.17 2002/02/13 03:27:47 leif Exp $
*/
public class ExcaliburTestCase
extends TestCase
@@ -321,7 +321,7 @@
}
catch ( Exception e )
{
- result.addFailure(this, new AssertionFailedError());
+ result.addError(this, e);
}
finally
{
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>