| org.apache.solr.util.AbstractSolrTestCase org.apache.solr.SampleTest
SampleTest | public class SampleTest extends AbstractSolrTestCase (Code) | | This is an example of how to write a JUnit tests for Solr using the
AbstractSolrTestCase
|
Method Summary | |
public String | getSchemaFile() All subclasses of AbstractSolrTestCase must define this method. | public String | getSolrConfigFile() All subclasses of AbstractSolrTestCase must define this method
Note that different tests can use different configs by refering
to any crazy path they want (as long as it works). | public void | testAdvanced() | public void | testSimple() |
getSchemaFile | public String getSchemaFile()(Code) | | All subclasses of AbstractSolrTestCase must define this method.
Note that different tests can use different schemas by refering
to any crazy path they want (as long as it works).
|
getSolrConfigFile | public String getSolrConfigFile()(Code) | | All subclasses of AbstractSolrTestCase must define this method
Note that different tests can use different configs by refering
to any crazy path they want (as long as it works).
|
testAdvanced | public void testAdvanced() throws Exception(Code) | | Demonstration of some of the more complex ways to use the base class
|
testSimple | public void testSimple()(Code) | | Demonstration of some of the simple ways to use the base class
|
|
|