Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-9932

add TestSolrCoreParser class

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 6.5, 7.0
    • None
    • None

    Description

      The new TestSolrCoreParser class directly instantiates a SolrCoreParser and initialises it with custom query builders, the tests then check that custom xml parses correctly and that the resulting Query object is an instance of the correct class.

      In comparison, the existing TestXmlQParserPlugin test indirectly instantiates and initialises a SolrCoreParser via the solrconfig-testxmlparser.xml and then executes the custom xml queries.

      Attachments

        1. SOLR-9932.patch
          7 kB
          Christine Poerschke

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: