package org.apache.solr;

import org.apache.solr.client.solrj.SolrServerException;
import org.apache.solr.util.AbstractSolrTestCase;

/**
 * <p> Test disabling components</p>
 *
 * @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"));

  }


  @Override
  public String getSchemaFile() {
    return "schema-replication1.xml";
  }

  @Override
  public String getSolrConfigFile() {
    return "solrconfig-enableplugin.xml";
  }

}

@@ -91,47 +91,49 @@
 org.
-apache.solr.util.AbstractSolrTestCase;%0A
+junit.BeforeClass;%0Aimport org.junit.Test;
 %0A/**
@@ -255,32 +255,180 @@
 nds 
-AbstractSolrTestCase %7B%0A%0A
+SolrTestCaseJ4 %7B%0A  @BeforeClass%0A  public static void beforeClass() throws Exception %7B%0A    initCore(%22solrconfig-enableplugin.xml%22, %22schema-replication1.xml%22);%0A  %7D%0A  %0A  @Test
 %0A  p
@@ -609,194 +609,6 @@
   %7D%0A
-%0A%0A  @Override%0A  public String getSchemaFile() %7B%0A    return %22schema-replication1.xml%22;%0A  %7D%0A%0A  @Override%0A  public String getSolrConfigFile() %7B%0A    return %22solrconfig-enableplugin.xml%22;%0A  %7D%0A%0A
 %7D%0A

convert to junit4