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

Chris Male updated LUCENE-3419:
-------------------------------

    Attachment: LUCENE-3419.patch

Patch which adds appropriate epsilons to the float and double assertions and 
converts array assertions to assertArrayEquals.  

Everything passes.

Once this is committed, I want to nuke the deprecated assert* methods from 
LuceneTestCase, as they're no longer used.

> Resolve JUnit assert deprecations
> ---------------------------------
>
>                 Key: LUCENE-3419
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3419
>             Project: Lucene - Java
>          Issue Type: Improvement
>            Reporter: Chris Male
>            Priority: Minor
>         Attachments: LUCENE-3419.patch
>
>
> Many tests use assertEquals methods which have been deprecated.  The culprits 
> are assertEquals(float, float), assertEquals(double, double) and 
> assertEquals(Object[], Object[]).  Although not a big issue, they annoy me 
> every time I see them so I'm going to fix them.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to