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

add TestCoreParser.testTermQueryEmptyXML test

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 6.1
    • None
    • None
    • New

    Description

      • Test that parsing of <TermQuery fieldName="contents"></TermQuery> fails.
      • Add a parseShouldFail helper method to TestCoreParser which deriving classes can use to test that parsing of other more complex queries also fails as expected.

      Attachments

        1. LUCENE-7252.patch
          3 kB
          Christine Poerschke

        Activity

          People

            cpoerschke Christine Poerschke
            cpoerschke Christine Poerschke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: