lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "michael herndon (JIRA)" <>
Subject [Lucene.Net] [jira] [Created] (LUCENENET-436) Refactor Deprecated Code inside of tests
Date Wed, 13 Jul 2011 17:12:59 GMT
Refactor Deprecated Code inside of tests 

                 Key: LUCENENET-436
             Project: Lucene.Net
          Issue Type: Sub-task
          Components: Lucene.Net Test
    Affects Versions: Lucene.Net 2.9.4g
            Reporter: michael herndon

* We should still be testing deprecated methods, but we need to use #pragma warning disable/enable
0618 for testing those. otherwise compiler warnings are too numerous to be anywhere near helpful.
* We should only be using deprecated methods in places where they are being explicitly tested,
other tests that need that functionality in 
order to validate those tests should be re factored to use methods that are not deprecated.

This is one place we should probably deviate from the parent project and make sure that any
deprecated code gets isolated to the tests designed only for the deprecated methods and then
use the newer API through out the testsuite.

This should help move the project forward and remove deprecated API's when the time comes.

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message