[ 
https://issues.apache.org/jira/browse/SOLR-5218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13761111#comment-13761111
 ] 

Dawid Weiss commented on SOLR-5218:
-----------------------------------

Did it solve your problem, Steve? I didn't mean to sound too harsh on this, the 
problem is that you won't be able to extend SolrJettyTestBase *and* use a 
different JUnit runner (parameterized one) at the same time. There are certain 
bits of Lucene/Solr tests infrastructure that are tightly bound to 
RandomizedRunner, so if you want to extend SolrJettyTestBase you'll have to 
stick to it.

That ParametersFactory annotation plus a constructor is I think a nice mirror 
and equivalent of ParameterizedRunner?
                
> Unable to extend SolrJettyTestBase within a Parametrized test
> -------------------------------------------------------------
>
>                 Key: SOLR-5218
>                 URL: https://issues.apache.org/jira/browse/SOLR-5218
>             Project: Solr
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 4.3.1
>            Reporter: Steve Davids
>            Assignee: Dawid Weiss
>             Fix For: 4.5, 5.0
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to