Class OutputVerifyingTestCase
- java.lang.Object
-
- org.apache.accumulo.iteratortest.testcases.OutputVerifyingTestCase
-
- All Implemented Interfaces:
IteratorTestCase
- Direct Known Subclasses:
DeepCopyTestCase
,IsolatedDeepCopiesTestCase
,MultipleHasTopCalls
,ReSeekTestCase
,YieldingTestCase
public abstract class OutputVerifyingTestCase extends Object implements IteratorTestCase
BaseIteratorTestCase
implementation that performs verification on the expected and actual outcome.
-
-
Constructor Summary
Constructors Constructor Description OutputVerifyingTestCase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
verify(IteratorTestOutput expected, IteratorTestOutput actual)
Compute whether or not the expected and actual output is a success or failure for this implementation.-
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.testcases.IteratorTestCase
test
-
-
-
-
Method Detail
-
verify
public boolean verify(IteratorTestOutput expected, IteratorTestOutput actual)
Description copied from interface:IteratorTestCase
Compute whether or not the expected and actual output is a success or failure for this implementation.- Specified by:
verify
in interfaceIteratorTestCase
- Parameters:
expected
- The expected output from the user.actual
- The actual output from the test- Returns:
- True if the test case passes, false if it doesn't.
-
-