Kevan Miller wrote:
On 2/27/06, *Bruce Snyder* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
On 2/27/06, continuum <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
> [surefire] Running javax.mail.internet.MimeMessageTest
> [surefire] Tests run: 8, Failures: 2, Errors: 0, Time elapsed:
0.122 sec <<<<<<<< FAILURE !!
I'm not sure why this is failing as it passed for me in my
environment. Is there a way to view the surefire-report for this
failure?
Bruce,
Here's the top of the error stacktrace for both failures:
junit.framework.ComparisonFailure: expected:<...\201> but was:<...?>
at junit.framework.Assert.assertEquals(Assert.java:81)
at junit.framework.Assert.assertEquals(Assert.java:87)
at
javax.mail.internet.MimeMessageTest.testSetSubject(MimeMessageTest.java:343)
Oops, I think I know what's going wrong here. That particular test case
is sensitive to whatever default code page is in use on that machine, so
the result can be highly variable. I think this particular variation
should just be deleted, along with the similar variation for
setDescription() on line 365.
Rick
--kevan