diff options
author | Colin Goodheart-Smithe <colings86@users.noreply.github.com> | 2015-11-11 14:30:12 +0000 |
---|---|---|
committer | Colin Goodheart-Smithe <colings86@users.noreply.github.com> | 2015-12-21 09:34:05 +0000 |
commit | 5da1898f11b66bf1a9158ab011cfaeac5147da62 (patch) | |
tree | 14b972c9243bc2f12dfab231008d2a456c5c470f /core/src/test/java/org/elasticsearch/search/aggregations/metrics/AvgTests.java | |
parent | 97c2f7b037a5953deef03ccfb1c077b493d50d62 (diff) |
Aggregations Refactor: Refactor Max, Avg, and Sum Aggregations
Diffstat (limited to 'core/src/test/java/org/elasticsearch/search/aggregations/metrics/AvgTests.java')
-rw-r--r-- | core/src/test/java/org/elasticsearch/search/aggregations/metrics/AvgTests.java | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/core/src/test/java/org/elasticsearch/search/aggregations/metrics/AvgTests.java b/core/src/test/java/org/elasticsearch/search/aggregations/metrics/AvgTests.java new file mode 100644 index 0000000000..fa51fb20c3 --- /dev/null +++ b/core/src/test/java/org/elasticsearch/search/aggregations/metrics/AvgTests.java @@ -0,0 +1,31 @@ +/* + * Licensed to Elasticsearch under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.elasticsearch.search.aggregations.metrics; + +import org.elasticsearch.search.aggregations.metrics.avg.AvgAggregator; + +public class AvgTests extends AbstractNumericMetricTestCase<AvgAggregator.Factory> { + + @Override + protected AvgAggregator.Factory doCreateTestAggregatorFactory() { + return new AvgAggregator.Factory("foo"); + } + +} |