summaryrefslogtreecommitdiff
path: root/core/src/test/java/org/elasticsearch/search/aggregations/AggregationCollectorTests.java
diff options
context:
space:
mode:
authorRyan Ernst <ryan@iernst.net>2015-08-03 17:43:00 -0700
committerRyan Ernst <ryan@iernst.net>2015-08-03 17:43:00 -0700
commit1e12d03252590bb44ae0cc3771c82c63730de212 (patch)
treea699635b3946b5541aeeaf9b0c0adcbeeeb62077 /core/src/test/java/org/elasticsearch/search/aggregations/AggregationCollectorTests.java
parent3c5b43a5bd426e4e1b041de31a0f7051081b3921 (diff)
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
Diffstat (limited to 'core/src/test/java/org/elasticsearch/search/aggregations/AggregationCollectorTests.java')
-rw-r--r--core/src/test/java/org/elasticsearch/search/aggregations/AggregationCollectorTests.java4
1 files changed, 2 insertions, 2 deletions
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");