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

add TestSolrCoreParser class

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.5, 7.0
    • Component/s: None
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: