autoprops setup

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@809514 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Noble Paul 2009-08-31 09:24:49 +00:00
parent 4114447c8f
commit 325f20fc50
1 changed files with 12 additions and 13 deletions

View File

@ -5,29 +5,28 @@ import org.apache.solr.util.AbstractSolrTestCase;
/**
* <p> Test disabling components</p>
* @version $Id:$
*
* @version $Id$
* @since solr 1.4
*/
public class TestPluginEnable extends AbstractSolrTestCase {
public void testSimple() throws SolrServerException {
assertNull( h.getCore().getRequestHandler("disabled"));
assertNotNull( h.getCore().getRequestHandler("enabled"));
assertNull(h.getCore().getRequestHandler("disabled"));
assertNotNull(h.getCore().getRequestHandler("enabled"));
}
@Override
public String getSchemaFile() {
return "schema-replication1.xml";
}
@Override
public String getSchemaFile() {
return "schema-replication1.xml";
}
@Override
public String getSolrConfigFile() {
return "solrconfig-enableplugin.xml";
}
@Override
public String getSolrConfigFile() {
return "solrconfig-enableplugin.xml";
}
}