Example usage for org.apache.solr SolrTestCaseJ4 TEST_HOME

List of usage examples for org.apache.solr SolrTestCaseJ4 TEST_HOME

Introduction

In this page you can find the example usage for org.apache.solr SolrTestCaseJ4 TEST_HOME.

Prototype

public static String TEST_HOME() 

Source Link

Usage

From source file:org.vootoo.schema.CrossCoreFieldTest.java

License:Apache License

@BeforeClass
public static void beforeClass() {
    coreContainer = new CoreContainer(
            TestHarness.buildTestNodeConfig(new SolrResourceLoader(Paths.get(SolrTestCaseJ4.TEST_HOME()))),
            new Properties(), new NamedCoresLocator(MAIN_CORE, SUB_CORE));
    coreContainer.load();/*from  www  .  j  av  a  2 s  .c om*/
}