Package org.apache.solr.util

Examples of org.apache.solr.util.TestHarness


                       + System.getProperty("file.separator")
                       + getClass().getName() + "-" + getName() + "-"
                       + System.currentTimeMillis());
    dataDir.mkdirs();
    try {
      h = new TestHarness(dataDir.getAbsolutePath(),
                          getSolrConfigFile(),
                          getSchemaFile());
      fail("Exception should have been thrown");
    } catch (Exception e) {
      assertTrue(e.getMessage().contains("unset.sys.property"));
View Full Code Here

TOP

Related Classes of org.apache.solr.util.TestHarness

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.