You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by "Sean Carpenter (JIRA)" <ji...@apache.org> on 2008/10/08 19:53:44 UTC
[jira] Created: (LUCENENET-158) TestSpanNearOrdered02 -
TestSpanNearOrdered05 fail
TestSpanNearOrdered02 - TestSpanNearOrdered05 fail
--------------------------------------------------
Key: LUCENENET-158
URL: https://issues.apache.org/jira/browse/LUCENENET-158
Project: Lucene.Net
Issue Type: Bug
Reporter: Sean Carpenter
Priority: Minor
Attachments: CheckHits.patch
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.
[jira] Updated: (LUCENENET-158) TestSpanNearOrdered02 -
TestSpanNearOrdered05 fail
Posted by "Sean Carpenter (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENENET-158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Carpenter updated LUCENENET-158:
-------------------------------------
Attachment: CheckHits.patch
Added call to ArrayList.Sort().
> TestSpanNearOrdered02 - TestSpanNearOrdered05 fail
> --------------------------------------------------
>
> Key: LUCENENET-158
> URL: https://issues.apache.org/jira/browse/LUCENENET-158
> Project: Lucene.Net
> Issue Type: Bug
> Reporter: Sean Carpenter
> 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.
[jira] Closed: (LUCENENET-158) TestSpanNearOrdered02 -
TestSpanNearOrdered05 fail
Posted by "Digy (JIRA)" <ji...@apache.org>.
[ 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.