lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Digy (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (LUCENENET-302) TestSort.TestInternationalMultiSearcherSort and TestInternationalSort fails
Date Mon, 23 Nov 2009 20:19:40 GMT

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

Digy resolved LUCENENET-302.
----------------------------

    Resolution: Fixed

It is a direct port from Java.  And there are some differences like
System.Convert.ToString(System.Double.MinValue)  <-->  double.MinValue.ToString()
But all tests have the same behaviour. So I don't think there is a functional diff.
----
Patch applied.
DIGY


> TestSort.TestInternationalMultiSearcherSort and TestInternationalSort fails
> ---------------------------------------------------------------------------
>
>                 Key: LUCENENET-302
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-302
>             Project: Lucene.Net
>          Issue Type: Bug
>         Environment: 2.9.1
>            Reporter: Digy
>         Attachments: TestSort.patch
>
>
> I will attach a patch to show the bug, it is not a real patch.
> The output of sort using "new System.Globalization.CultureInfo("en-US")" is  
> HAT HÅT HOT HØT HUT   (which corresponds to BFJHD) .
> but  the expected one is BFJDH which is  HAT HÅT HOT HUT HØT 
> Current output seems to be correct and I think there is a bug in the test where expected
value is wrong. But code is same in Java.
> (I compared the sort order in swedish and danish alphabets as well and they are correct).
> Any Idea?
> DIGY

-- 
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