Adapt to renaming of RestTestCandidate

This commit is contained in:
Christoph Büscher 2016-07-27 11:39:59 +02:00
parent 3ac35d1f4a
commit 4162582ee8
1 changed files with 5 additions and 5 deletions

View File

@ -22,19 +22,19 @@ package org.elasticsearch.action.quality;
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 RankEvalRestIT extends ESClientYamlSuiteTestCase {
public RankEvalRestIT(@Name("yaml") RestTestCandidate testCandidate) {
public RankEvalRestIT(@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);
}
}