use of org.apache.accumulo.iteratortest.IteratorTestInput in project accumulo by apache.
the class SummingCombinerTest method parameters.
@Parameters
public static Object[][] parameters() {
IteratorTestInput input = getIteratorInput();
IteratorTestOutput output = getIteratorOutput();
List<IteratorTestCase> tests = IteratorTestCaseFinder.findAllTestCases();
return BaseJUnit4IteratorTest.createParameters(input, output, tests);
}
use of org.apache.accumulo.iteratortest.IteratorTestInput in project accumulo by apache.
the class SummingCombinerTest method getIteratorInput.
private static IteratorTestInput getIteratorInput() {
IteratorSetting setting = new IteratorSetting(50, SummingCombiner.class);
LongCombiner.setEncodingType(setting, LongCombiner.Type.STRING);
Combiner.setCombineAllColumns(setting, true);
return new IteratorTestInput(SummingCombiner.class, setting.getOptions(), new Range(), INPUT_DATA);
}
use of org.apache.accumulo.iteratortest.IteratorTestInput in project accumulo by apache.
the class WholeRowIteratorTest method parameters.
@Parameters
public static Object[][] parameters() {
IteratorTestInput input = getIteratorInput();
IteratorTestOutput output = getIteratorOutput();
List<IteratorTestCase> tests = IteratorTestCaseFinder.findAllTestCases();
return BaseJUnit4IteratorTest.createParameters(input, output, tests);
}
Aggregations