Class YieldingTestCase
- java.lang.Object
-
- org.apache.accumulo.iteratortest.testcases.YieldingTestCase
-
- All Implemented Interfaces:
IteratorTestCase
public class YieldingTestCase extends Object implements IteratorTestCase
Test case that verifies that an iterator works correctly with the yielding api. Note that most iterators do nothing in terms of yielding in which case this merely tests that the iterator produces the correct output. If however the iterator does override the yielding api, then this ensures that it works correctly iff the iterator actually decides to yield. Nothing can force an iterator to yield without knowing something about the internals of the iterator being tested.
-
-
Constructor Summary
Constructors Constructor Description YieldingTestCase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IteratorTestOutput
test(IteratorTestInput testInput)
Run the implementation's test against the given input.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.accumulo.iteratortest.IteratorTestCase
displayName, toParameters, verify
-
-
-
-
Method Detail
-
test
public IteratorTestOutput test(IteratorTestInput testInput)
Description copied from interface:IteratorTestCase
Run the implementation's test against the given input.- Specified by:
test
in interfaceIteratorTestCase
- Parameters:
testInput
- The input to test.- Returns:
- The output of the test with the input.
-
-