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

Unable to extend SolrJettyTestBase within a Parametrized test

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 4.3.1
    • Fix Version/s: 4.5, 6.0
    • Component/s: Tests
    • Labels:
      None

      Description

      I would like to create a unit test that extends SolrJettyTestBase using the JUnit Parameterized test format. When I try to run the test I get the following messages:

      Method beforeClass() should be public & Method afterClass() should be public
      at java.lang.reflect.Constructor.newInstance(Unkown Source)...

      Obviously it would be great if we could make those public so I can use the JUnit Runner.

        Attachments

          Activity

            People

            • Assignee:
              dweiss Dawid Weiss
              Reporter:
              sdavids Steve Davids
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: