lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Male (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-3397) Cleanup Test TokenStreams so they are reusable
Date Wed, 24 Aug 2011 12:55:29 GMT

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

Chris Male updated LUCENE-3397:
-------------------------------

    Attachment: LUCENE-3397.patch

Patch which adds state resetting to TokenStreams created in tests.  

The only other TSs which are not reusable are done so by design to test that something can
handle non-reusable TSs.  When we made reuse mandatory, we can drop these tests and remove
the non reusable TSs.

> Cleanup Test TokenStreams so they are reusable
> ----------------------------------------------
>
>                 Key: LUCENE-3397
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3397
>             Project: Lucene - Java
>          Issue Type: Sub-task
>          Components: modules/analysis
>            Reporter: Chris Male
>         Attachments: LUCENE-3397.patch
>
>
> Many TokenStreams created in tests are not reusable.  Some do some really messy things
which prevent their reuse so we may have to change the tests themselves.
> We'll target back porting this to 3x.

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message