Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-3064

add checks to MockTokenizer to enforce proper consumption

    Details

    • Type: Test
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2, 4.0-ALPHA
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available

      Description

      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.

        Attachments

        1. LUCENE-3064.patch
          30 kB
          Robert Muir
        2. LUCENE-3064.patch
          27 kB
          Robert Muir
        3. LUCENE-3064.patch
          18 kB
          Robert Muir
        4. LUCENE-3064.patch
          9 kB
          Robert Muir

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rcmuir Robert Muir
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: