jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Lemieux (QC/EMC)" <David.Lemi...@ericsson.com>
Subject RE: Every failure leads to an error
Date Fri, 31 Oct 2003 15:20:10 GMT
Only call is assertTrue(false) and it still does not work

-----Original Message-----
From: J. B. Rainsberger [mailto:jbrains@rogers.com]
Sent: Friday, October 31, 2003 10:07 AM
To: Cactus Users List
Subject: Re: Every failure leads to an error

David Lemieux (QC/EMC) wrote:

> Removed the loggerFactory... 
> Does not solve my problem :(
> It should report a failure and not an error, right?

Yes. Remove all the try/catch/finally. Does that work?

My point was this: catching Exception was not going to catch the 
Throwable that JUnit throws when an assertion fails, so your catch 
blocks, in theory, do nothing.
J. B. Rainsberger,
Diaspar Software Services
http://www.diasparsoftware.com :: +1 416 791-8603
Let's write software that people understand

To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-user-help@jakarta.apache.org

View raw message