You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2011/05/13 19:00:48 UTC

[jira] [Resolved] (LUCENE-3064) add checks to MockTokenizer to enforce proper consumption

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

Robert Muir resolved LUCENE-3064.
---------------------------------

    Resolution: Fixed

backported to 3.x in revision 1102812

> add checks to MockTokenizer to enforce proper consumption
> ---------------------------------------------------------
>
>                 Key: LUCENE-3064
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3064
>             Project: Lucene - Java
>          Issue Type: Test
>            Reporter: Robert Muir
>             Fix For: 3.2, 4.0
>
>         Attachments: LUCENE-3064.patch, LUCENE-3064.patch, LUCENE-3064.patch, LUCENE-3064.patch
>
>
> we can enforce things like consumer properly iterates through tokenstream lifeycle
> via MockTokenizer. this could catch bugs in consumers that don't call reset(), etc.

--
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