public class VerifyRuleVerifier extends Object implements Verifier, Verifier.Validatable
Verifier
.Verifier.Validatable
Constructor and Description |
---|
VerifyRuleVerifier(DataModelSource expected,
VerifyRule rule)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
validate()
Validates this object.
|
List<Difference> |
verify(DataModelSource results)
Verifies the result data.
|
public VerifyRuleVerifier(DataModelSource expected, VerifyRule rule)
expected
- the expected data setrule
- the rule engineIllegalArgumentException
- if some parameters were null
public List<Difference> verify(DataModelSource results) throws IOException
Verifier
verify
in interface Verifier
results
- result dataIOException
- if failed topublic void validate() throws IOException
Verifier.Validatable
Verifier.verify(DataModelSource)
.validate
in interface Verifier.Validatable
IOException
- if validation was failedpublic void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.