You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Chris Male (JIRA)" <ji...@apache.org> on 2011/08/24 14:55:29 UTC
[jira] [Updated] (LUCENE-3397) Cleanup Test TokenStreams so they
are reusable
[ 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