harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kelvin Ye (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-4231) [classlib][jndi] LdapName.toString() should return the original String when no modification
Date Tue, 19 Jun 2007 06:41:26 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-4231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kelvin Ye updated HARMONY-4231:
-------------------------------

    Attachment: harmony-4231.diff

I also add some tests for LdapName. Would you please try the patch? Thanks very much!

> [classlib][jndi] LdapName.toString() should return the original String when no modification
> -------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4231
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4231
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: linux and windows
>            Reporter: Kelvin Ye
>         Attachments: harmony-4231.diff
>
>
> Following object ln of LdapName should return the original String when no modification
to ln.
>         String str = "t=\\20\\ te\\ s\\20t\\20\\20 + t2 = test1\\20\\ ";
>         LdapName ln = new LdapName(str);
>         assertEquals(ln.toString(), str);
>         ln.get(0);
>         assertEquals(ln.toString(), str);
>         ln.add("t=test");
>         assertEquals(ln.toString(), "t=test,t=\\ \\ te s t\\ +t2=test1\\ \\ ");
> Harmony will fail the above case, but RI passed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message