Class MultipleHasTopCalls
- java.lang.Object
-
- org.apache.accumulo.iteratortest.testcases.MultipleHasTopCalls
-
- All Implemented Interfaces:
IteratorTestCase
public class MultipleHasTopCalls extends Object implements IteratorTestCase
TestCase which asserts that multiple calls toSortedKeyValueIterator.hasTop()
should not alter the internal state of the iterator and should not return different values due to multiple, sequential invocations.This test case will call
hasTop()
multiple times, verifying that each call returns the same value as the first.
-
-
Constructor Summary
Constructors Constructor Description MultipleHasTopCalls()
-
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.
-
-