From 1e12d03252590bb44ae0cc3771c82c63730de212 Mon Sep 17 00:00:00 2001 From: Ryan Ernst Date: Mon, 3 Aug 2015 17:43:00 -0700 Subject: Tests: Rename base tests cases to use "TestCase" suffix Most of the abstract base test classes we have were previously @Ignored. However, there were also some other tests ignored. Having two ways to quiet tests is confusing, and clearly it has caused some tests to get lost in the fold. This change moves all base test classes to use the "TestCase" suffix, which is not picked up by the test class name pattern. It also removes @Ignore from (almost) all tests, and adds it to forbidden apis. And since we were renaming, I shorted base test class names to use "ES" instead of "Elasticsearch". I type this a lot of types a day, and I have heard others express a similar desire for a shorter name. closes #10659 --- .../elasticsearch/search/aggregations/AggregationCollectorTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/src/test/java/org/elasticsearch/search/aggregations/AggregationCollectorTests.java') diff --git a/core/src/test/java/org/elasticsearch/search/aggregations/AggregationCollectorTests.java b/core/src/test/java/org/elasticsearch/search/aggregations/AggregationCollectorTests.java index dcb3dc2f16..1172170ca1 100644 --- a/core/src/test/java/org/elasticsearch/search/aggregations/AggregationCollectorTests.java +++ b/core/src/test/java/org/elasticsearch/search/aggregations/AggregationCollectorTests.java @@ -24,11 +24,11 @@ import org.elasticsearch.common.xcontent.json.JsonXContent; import org.elasticsearch.index.IndexService; import org.elasticsearch.search.aggregations.support.AggregationContext; import org.elasticsearch.search.internal.SearchContext; -import org.elasticsearch.test.ElasticsearchSingleNodeTest; +import org.elasticsearch.test.ESSingleNodeTestCase; import java.io.IOException; -public class AggregationCollectorTests extends ElasticsearchSingleNodeTest { +public class AggregationCollectorTests extends ESSingleNodeTestCase { public void testNeedsScores() throws Exception { IndexService index = createIndex("idx"); -- cgit v1.2.3