Package org.apache.accumulo.iteratortest
Class IteratorTestBase
java.lang.Object
org.apache.accumulo.iteratortest.IteratorTestBase
A base test class for users to leverage to test their iterators.
Users should extend this class and override its abstract methods to provide IteratorTestInput, IteratorTestOutput and a List<IteratorTestCase> which will all serve as the parameters for an iterator test case.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final Stream<IteratorTestCase>
The List ofIteratorTestCase
to run the iterator againstprotected abstract Stream<IteratorTestParameters>
void
testIterator
(IteratorTestParameters params)
-
Constructor Details
-
IteratorTestBase
public IteratorTestBase()
-
-
Method Details
-
parameters
-
builtinTestCases
The List ofIteratorTestCase
to run the iterator against -
testIterator
@ParameterizedTest @MethodSource("parameters") public void testIterator(IteratorTestParameters params)
-