public class IteratorTestRunner extends Object
| Constructor and Description |
|---|
IteratorTestRunner(IteratorTestInput testInput,
IteratorTestOutput testOutput,
Collection<IteratorTestCase> testCases)
Construct an instance of the class.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<IteratorTestCase> |
getTestCases() |
IteratorTestInput |
getTestInput() |
IteratorTestOutput |
getTestOutput() |
List<IteratorTestReport> |
runTests()
Invokes each test case on the input, verifying the output.
|
public IteratorTestRunner(IteratorTestInput testInput, IteratorTestOutput testOutput, Collection<IteratorTestCase> testCases)
testInput - The input to the teststestOutput - The expected output given the inputtestCases - The test cases to invokepublic IteratorTestInput getTestInput()
public IteratorTestOutput getTestOutput()
public Collection<IteratorTestCase> getTestCases()
public List<IteratorTestReport> runTests()
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.