geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick McGuire <rick...@gmail.com>
Subject Re: [continuum] BUILD FAILURE: Java Mail
Date Mon, 27 Feb 2006 19:02:43 GMT
Kevan Miller wrote:
>
>
> On 2/27/06, *Bruce Snyder* <bruce.snyder@gmail.com 
> <mailto:bruce.snyder@gmail.com>> wrote:
>
>     On 2/27/06, continuum <continuum@stan.gbuild.org
>     <mailto:continuum@stan.gbuild.org>> 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 
>
>


Mime
View raw message