public class MultipleHasTopCalls extends OutputVerifyingTestCase
SortedKeyValueIterator.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 and Description |
|---|
MultipleHasTopCalls() |
| Modifier and Type | Method and Description |
|---|---|
IteratorTestOutput |
test(IteratorTestInput testInput)
Run the implementation's test against the given input.
|
verifypublic IteratorTestOutput test(IteratorTestInput testInput)
IteratorTestCasetestInput - The input to test.Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.