public abstract class AbstractTestDataToolProvider extends Object implements TestDataToolProvider
TestDataToolProvider
.Constructor and Description |
---|
AbstractTestDataToolProvider() |
Modifier and Type | Method and Description |
---|---|
VerifierFactory |
toVerifierFactory(DataModelSourceFactory expectedFactory,
VerifyRuleFactory ruleFactory)
Returns a
VerifierFactory for expected data set and a verification rule. |
<T> VerifyRuleFactory |
toVerifyRuleFactory(DataModelDefinition<T> dataModel,
ModelVerifier<? super T> verifier)
Converts model verifier into a corresponding rule.
|
<T> TestRule |
toVerifyRuleFragment(DataModelDefinition<T> dataModelClass,
ModelTester<? super T> tester)
Converts model tester into a corresponding rule.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDataModelSinkFactory, getDataModelSourceFactory, getDifferenceSinkFactory, getVerifyRuleFactory, toDataModelDefinition
public <T> VerifyRuleFactory toVerifyRuleFactory(DataModelDefinition<T> dataModel, ModelVerifier<? super T> verifier)
TestDataToolProvider
toVerifyRuleFactory
in interface TestDataToolProvider
T
- verification target typedataModel
- target classverifier
- target verifier objectpublic <T> TestRule toVerifyRuleFragment(DataModelDefinition<T> dataModelClass, ModelTester<? super T> tester)
TestDataToolProvider
toVerifyRuleFragment
in interface TestDataToolProvider
T
- test target typedataModelClass
- target classtester
- target tester objectpublic VerifierFactory toVerifierFactory(DataModelSourceFactory expectedFactory, VerifyRuleFactory ruleFactory)
TestDataToolProvider
VerifierFactory
for expected data set and a verification rule.toVerifierFactory
in interface TestDataToolProvider
expectedFactory
- the data model source factory which provides expected data setruleFactory
- verification rule factoryCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.