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

improve BaseTokenStreamTestCase random string generation

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.6, 4.0-ALPHA
    • Fix Version/s: 3.6, 4.0-ALPHA
    • Component/s: general/test
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Most analysis tests use mocktokenizer (which splits on whitespace), but
      its rare that we generate a string with 'many tokens'. So I think we should
      try to generate more realistic test strings.

        Attachments

        1. LUCENE-3911.patch
          3 kB
          Robert Muir
        2. LUCENE-3911.patch
          6 kB
          Robert Muir
        3. LUCENE-3911_more.patch
          2 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: