harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Loenko" <mloe...@gmail.com>
Subject Re: [classlib][jndi] Test failure and others
Date Fri, 02 Mar 2007 09:49:21 GMT
Hmmm. I can't reproduce that. CCs also run fine...

the test originally had this line
        assertEquals(8, rdn.toString().getBytes().length);
could you please try to replace it with
        assertEquals(8, rdn.toString().length());

Thanks,
Mikhail

2007/3/2, Richard Liang <richard.liangyx@gmail.com>:
> Hello,
>
> The test case org.apache.harmony.jndi.tests.javax.naming.ldap.whitebox.TestRdnWhiteBoxDevelopment.testToString002
> fails on both RI 5.0 and Harmony with the same message
> "junit.framework.AssertionFailedError: expected:<8> but was:<14>".
> Could anyone have a look  at it?
>
> Also I cannot edit this test file in Eclipse because I set the default
> text encoding as "US-ASCII". Do we have any agreement about Harmony
> source file encoding? Thanks a lot.
>
> Best regards,
> --
> Richard Liang
> China Development Lab, IBM
>

Mime
View raw message