Lucene - Core
  1. Lucene - Core
  2. LUCENE-3064

add checks to MockTokenizer to enforce proper consumption

    Details

    • Type: Test Test
    • Status: Closed
    • Priority: Major 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.

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

        Activity

        Robert Muir made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Robert Muir made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Robert Muir made changes -
        Fix Version/s 3.2 [ 12316070 ]
        Robert Muir made changes -
        Attachment LUCENE-3064.patch [ 12478926 ]
        Robert Muir made changes -
        Attachment LUCENE-3064.patch [ 12478921 ]
        Robert Muir made changes -
        Attachment LUCENE-3064.patch [ 12478050 ]
        Robert Muir made changes -
        Field Original Value New Value
        Attachment LUCENE-3064.patch [ 12478014 ]
        Robert Muir created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development