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

Remove AbstractSolrTestCase

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.3
    • Tests
    • None

    Description

      I'm arguing AbstractSolrTestCase should be removed as it's obsoleted by SolrTestCaseJ4.

      In SOLR-3911 (back in 2012) Mark made it extend from SolrTestCaseJ4. There is really very little in this test class. Some of the methods here are duplicated by SolrTestCaseJ4 and thus are completely redundant (ignoreException, resetExceptionIgnores, getFile). There haven't been any modifications to this class of substance since 2012 either.

      I think we can just outright remove it (no deprecation phase). Anyone still using it can trivially switch.

      Attachments

        1. SOLR-11754.patch
          38 kB
          David Smiley

        Activity

          People

            dsmiley David Smiley
            dsmiley David Smiley
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: