Class InstantiationTestCase
- java.lang.Object
-
- org.apache.accumulo.iteratortest.testcases.InstantiationTestCase
-
- All Implemented Interfaces:
IteratorTestCase
public class InstantiationTestCase extends Object implements IteratorTestCase
TestCase to assert that an Iterator has a no-args constructor.
-
-
Constructor Summary
Constructors Constructor Description InstantiationTestCase()
-
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.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.IteratorTestCase
displayName, toParameters
-
-
-
-
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.
-
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.
-
-