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

improve BaseTokenStreamTestCase random string generation

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.6, 4.0-ALPHA
    • 3.6, 4.0-ALPHA
    • general/test
    • None
    • 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_more.patch
          2 kB
          Robert Muir
        2. LUCENE-3911.patch
          6 kB
          Robert Muir
        3. LUCENE-3911.patch
          3 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: