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

add checks to MockTokenizer to enforce proper consumption

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.2, 4.0-ALPHA
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: