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 nullpublic List<Difference> verify(DataModelSource results) throws IOException
Verifierverify in interface Verifierresults - result dataIOException - if failed topublic void validate()
throws IOException
Verifier.ValidatableVerifier.verify(DataModelSource).validate in interface Verifier.ValidatableIOException - if validation was failedpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2011–2018 Asakusa Framework Team. All rights reserved.