You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by "Digy (JIRA)" <ji...@apache.org> on 2008/11/16 15:21:56 UTC

[jira] Closed: (LUCENENET-158) TestSpanNearOrdered02 - TestSpanNearOrdered05 fail

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

Digy closed LUCENENET-158.
--------------------------

    Resolution: Fixed
      Assignee: Digy

Patch is applied.
DIGY

> TestSpanNearOrdered02 - TestSpanNearOrdered05 fail
> --------------------------------------------------
>
>                 Key: LUCENENET-158
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-158
>             Project: Lucene.Net
>          Issue Type: Bug
>            Reporter: Sean Carpenter
>            Assignee: Digy
>            Priority: Minor
>         Attachments: CheckHits.patch
>
>   Original Estimate: 0.25h
>  Remaining Estimate: 0.25h
>
> Tests TestSpanNearOrdered02 - TestSpanNearOrdered05 in TestSpans.cs fail.  These tests fail as a result of using an ArrayList in C# to emulate a TreeSet in the Java version.  TreeSet in Java sorts its contents based on the default Comparator of the items - the ArrayList does not.  Added a call to ArrayList.Sort() before the asserts in the test.

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