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

Unable to extend SolrJettyTestBase within a Parametrized test

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 4.3.1
    • 4.5, 6.0
    • Tests
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: