summaryrefslogtreecommitdiff
path: root/plugins/analysis-kuromoji
diff options
context:
space:
mode:
authorNik Everett <nik9000@gmail.com>2016-07-25 18:58:44 -0400
committerNik Everett <nik9000@gmail.com>2016-07-26 13:53:44 -0400
commit9270e8b22b2df5ae09726464419c179e18d9a3a7 (patch)
tree6fe41e0ba6d3adc21d822be45b11f7fada18f4ef /plugins/analysis-kuromoji
parent0553ba9151dd5882391d076216b9363679a64949 (diff)
Rename client yaml test infrastructure
This makes it obvious that these tests are for running the client yaml suites. Now that there are other ways of running tests using the REST client against a running cluster we can't go on calling the shared client yaml tests "REST tests". They are rest tests, but they aren't **the** rest tests.
Diffstat (limited to 'plugins/analysis-kuromoji')
-rw-r--r--plugins/analysis-kuromoji/src/test/java/org/elasticsearch/index/analysis/KuromojiClientYamlTestSuiteIT.java (renamed from plugins/analysis-kuromoji/src/test/java/org/elasticsearch/index/analysis/AnalysisKuromojiRestIT.java)13
1 files changed, 7 insertions, 6 deletions
diff --git a/plugins/analysis-kuromoji/src/test/java/org/elasticsearch/index/analysis/AnalysisKuromojiRestIT.java b/plugins/analysis-kuromoji/src/test/java/org/elasticsearch/index/analysis/KuromojiClientYamlTestSuiteIT.java
index 5697fb55bd..e99c5c2bac 100644
--- a/plugins/analysis-kuromoji/src/test/java/org/elasticsearch/index/analysis/AnalysisKuromojiRestIT.java
+++ b/plugins/analysis-kuromoji/src/test/java/org/elasticsearch/index/analysis/KuromojiClientYamlTestSuiteIT.java
@@ -21,20 +21,21 @@ package org.elasticsearch.index.analysis;
import com.carrotsearch.randomizedtesting.annotations.Name;
import com.carrotsearch.randomizedtesting.annotations.ParametersFactory;
-import org.elasticsearch.test.rest.ESClientYamlSuiteTestCase;
-import org.elasticsearch.test.rest.RestTestCandidate;
-import org.elasticsearch.test.rest.parser.RestTestParseException;
+
+import org.elasticsearch.test.rest.yaml.ClientYamlTestCandidate;
+import org.elasticsearch.test.rest.yaml.ESClientYamlSuiteTestCase;
+import org.elasticsearch.test.rest.yaml.parser.ClientYamlTestParseException;
import java.io.IOException;
-public class AnalysisKuromojiRestIT extends ESClientYamlSuiteTestCase {
+public class KuromojiClientYamlTestSuiteIT extends ESClientYamlSuiteTestCase {
- public AnalysisKuromojiRestIT(@Name("yaml") RestTestCandidate testCandidate) {
+ public KuromojiClientYamlTestSuiteIT(@Name("yaml") ClientYamlTestCandidate testCandidate) {
super(testCandidate);
}
@ParametersFactory
- public static Iterable<Object[]> parameters() throws IOException, RestTestParseException {
+ public static Iterable<Object[]> parameters() throws IOException, ClientYamlTestParseException {
return ESClientYamlSuiteTestCase.createParameters(0, 1);
}
}