LUCENE-2611: make test abstract, and name it *TestCase so ant won't execute it

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@993194 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2010-09-07 02:05:55 +00:00
parent 97719e8a4f
commit 999ad98ba6
3 changed files with 4 additions and 4 deletions

View File

@ -25,7 +25,7 @@ import static org.junit.Assert.*;
/**
*
*/
public class AbstractClusteringTest extends SolrTestCaseJ4 {
public abstract class AbstractClusteringTestCase extends SolrTestCaseJ4 {
protected static int numberOfDocs = 0;
@BeforeClass

View File

@ -34,7 +34,7 @@ import static org.junit.Assert.*;
*
*
**/
public class ClusteringComponentTest extends AbstractClusteringTest {
public class ClusteringComponentTest extends AbstractClusteringTestCase {
@Test
public void testComponent() throws Exception {

View File

@ -25,7 +25,7 @@ import org.apache.lucene.search.TermQuery;
import org.apache.solr.common.params.ModifiableSolrParams;
import org.apache.solr.common.params.SolrParams;
import org.apache.solr.common.util.NamedList;
import org.apache.solr.handler.clustering.AbstractClusteringTest;
import org.apache.solr.handler.clustering.AbstractClusteringTestCase;
import org.apache.solr.handler.clustering.ClusteringComponent;
import org.apache.solr.request.LocalSolrQueryRequest;
import org.apache.solr.search.DocList;
@ -43,7 +43,7 @@ import static org.junit.Assert.*;
*
*/
@SuppressWarnings("unchecked")
public class CarrotClusteringEngineTest extends AbstractClusteringTest {
public class CarrotClusteringEngineTest extends AbstractClusteringTestCase {
@Test
public void testCarrotLingo() throws Exception {
// Note: the expected number of clusters may change after upgrading Carrot2