commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phil Steitz" <>
Subject Re: [lang] JUnit version, broken tests
Date Mon, 15 Dec 2003 01:48:38 GMT
__matthewHawthorne wrote:
> Instead of removing it, is it possible to modify the test to "expect" 
> the failure?  I'm not familiar with the test or class that you're 
> speaking of, but sometimes it's nice to keep tests like this around.
> Maybe catch an expected RuntimeException, or change an assertTrue to an 
> assertFalse, etc.?

The problem is that the test case testNestedBroken in 
o.a.c.l.enum.EnumTest is expecting "broken" behavior which does not occur 
under (Sun Linux) jdk 1.4.2.  There is not much else in the test case. 
That's why I suggested removing it.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message