You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Bruce Snyder <br...@gmail.com> on 2006/02/27 19:20:53 UTC

Re: [continuum] BUILD FAILURE: Java Mail

On 2/27/06, continuum <co...@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
--
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache Geronimo (http://geronimo.apache.org/)

Castor (http://castor.org/)

Re: [continuum] BUILD FAILURE: Java Mail

Posted by Rick McGuire <ri...@gmail.com>.
Kevan Miller wrote:
>
>
> On 2/27/06, *Bruce Snyder* <bruce.snyder@gmail.com 
> <ma...@gmail.com>> wrote:
>
>     On 2/27/06, continuum <continuum@stan.gbuild.org
>     <ma...@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 
>
>


Re: [continuum] BUILD FAILURE: Java Mail

Posted by Kevan Miller <ke...@gmail.com>.
On 2/27/06, Bruce Snyder <br...@gmail.com> wrote:
>
> On 2/27/06, continuum <co...@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)

--kevan