public interface Generator<T,E extends java.lang.Enum<?>>
Generator
is a basic interface for test data generators.Modifier and Type | Method and Description |
---|---|
boolean |
check(E situation,
T[] operands)
Checks the test data against the test situation.
|
GeneratorResult<T> |
generate(E situation,
T[] operands)
Generates test data for the given test situation.
|
boolean check(E situation, T[] operands)
situation
- the test situation.operands
- the test data.true
if the test data correspond to the test situation;
false
otherwise.GeneratorResult<T> generate(E situation, T[] operands)
situation
- the test situation.operands
- the test data having been fixed.