lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <>
Subject [jira] [Updated] (LUCENE-3064) add checks to MockTokenizer to enforce proper consumption
Date Thu, 12 May 2011 00:50:47 GMT


Robert Muir updated LUCENE-3064:

    Attachment: LUCENE-3064.patch

Updated patch: I think this is ready to commit.

I added a boolean to allow the workflow checks to be disabled in very exceptional cases (e.g.
TestIndexWriterExceptions's CrashingTokenFilter), so in general we can do pretty good checking.

> add checks to MockTokenizer to enforce proper consumption
> ---------------------------------------------------------
>                 Key: LUCENE-3064
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Test
>            Reporter: Robert Muir
>             Fix For: 4.0
>         Attachments: 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:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message