Package | Description |
---|---|
com.asakusafw.testdriver |
Test driver classes.
|
com.asakusafw.testdriver.core |
Core classes of test moderator.
|
com.asakusafw.testdriver.directio |
Moderates test input/result using Direct I/O.
|
com.asakusafw.testdriver.excel |
Test data/condition definitions in Excel sheets.
|
com.asakusafw.testdriver.html |
HTML style test data definitions.
|
com.asakusafw.testdriver.json |
JSON style Test data definitions.
|
com.asakusafw.testdriver.loader |
Data loaders and its mock implementations.
|
com.asakusafw.testdriver.model |
Default implementation of data model adapters.
|
com.asakusafw.testdriver.rule |
Tiny rule builder.
|
com.asakusafw.testdriver.windgate |
Moderates test input/result using WindGate.
|
Modifier and Type | Method and Description |
---|---|
DataModelDefinition<T> |
DriverInputBase.getDataModelDefinition()
Returns the data model definition for this port.
|
Modifier and Type | Method and Description |
---|---|
protected <T> DataModelSinkFactory |
DriverElementBase.toDataModelSinkFactory(DataModelDefinition<T> definition,
Class<? extends DataFormat<? super T>> formatClass,
File destinationFile)
Converts an output path to
DataModelSinkFactory to write to the path. |
protected <T> DataModelSourceFactory |
DriverElementBase.toDataModelSourceFactory(DataModelDefinition<T> definition,
Class<? extends DataFormat<? super T>> formatClass,
File sourceFile)
Loads a source file
DataModelSourceFactory which provides data models. |
protected <T> DataModelSourceFactory |
DriverElementBase.toDataModelSourceFactory(DataModelDefinition<T> definition,
Class<? extends DataFormat<? super T>> formatClass,
String sourcePath)
Loads a source file
DataModelSourceFactory which provides data models. |
protected <T> DataModelSourceFactory |
DriverElementBase.toDataModelSourceFactory(DataModelDefinition<T> definition,
Iterable<? extends T> sourceObjects)
Converts an data model object collection into
DataModelSourceFactory which provides data models. |
protected <T> DataModelSourceFilter |
DriverElementBase.toDataModelSourceFilter(DataModelDefinition<T> definition,
Consumer<? super T> transformer)
Converts an model transformer into
DataModelSourceFilter . |
Modifier and Type | Field and Description |
---|---|
protected DataModelDefinition<T> |
DataModelDefinition.Builder.definition
The current definition object.
|
Modifier and Type | Method and Description |
---|---|
<T> DataModelDefinition<T> |
SpiDataModelAdapter.get(Class<T> modelClass) |
<T> DataModelDefinition<T> |
DataModelAdapter.get(Class<T> modelClass)
Creates the
DataModelDefinition object from a data model class. |
<T> DataModelDefinition<T> |
TestToolRepository.toDataModelDefinition(Class<T> dataModelClass) |
<T> DataModelDefinition<T> |
TestDataToolProvider.toDataModelDefinition(Class<T> dataModelClass)
Converts data model class into its definition.
|
Modifier and Type | Method and Description |
---|---|
<T> DataModelSink |
SpiDataModelSinkProvider.create(DataModelDefinition<T> definition,
URI sink,
TestContext context) |
<T> DataModelSink |
DataModelSinkProvider.create(DataModelDefinition<T> definition,
URI sink,
TestContext context)
Creates a
DataModelSink object corresponding to the specified URI. |
<T> DifferenceSink |
DifferenceSinkProvider.create(DataModelDefinition<T> definition,
URI sink,
TestContext context)
Creates a
DifferenceSink object corresponding to the specified URI. |
<T> DifferenceSink |
SpiDifferenceSinkProvider.create(DataModelDefinition<T> definition,
URI sink,
TestContext context) |
<V> ModelOutput<V> |
SpiExporterRetriever.createOutput(DataModelDefinition<V> definition,
ExporterDescription description,
TestContext context) |
<V> ModelOutput<V> |
SpiImporterPreparator.createOutput(DataModelDefinition<V> definition,
ImporterDescription description,
TestContext context) |
abstract <V> ModelOutput<V> |
AbstractImporterPreparator.createOutput(DataModelDefinition<V> definition,
T description)
Creates a
ModelOutput to prepare the resource which the importer will use. |
abstract <V> ModelOutput<V> |
AbstractExporterRetriever.createOutput(DataModelDefinition<V> definition,
T description)
Creates a
ModelOutput to prepare what the exporter will use. |
<V> ModelOutput<V> |
AbstractImporterPreparator.createOutput(DataModelDefinition<V> definition,
T description,
TestContext context)
Redirects to
createOutput(definition, description) . |
<V> ModelOutput<V> |
ExporterRetriever.createOutput(DataModelDefinition<V> definition,
T description,
TestContext context)
Creates a
ModelOutput to prepare what the exporter will use. |
<V> ModelOutput<V> |
AbstractExporterRetriever.createOutput(DataModelDefinition<V> definition,
T description,
TestContext context)
Redirects to
createOutput(definition, description) . |
<V> ModelOutput<V> |
ImporterPreparator.createOutput(DataModelDefinition<V> definition,
T description,
TestContext context)
Creates a
ModelOutput to prepare the resource which the importer will use. |
abstract <T> VerifyRule |
VerifyRuleFactory.createRule(DataModelDefinition<T> definition,
VerifyContext context)
Creates a new
VerifyRule object. |
abstract <T> DifferenceSink |
DifferenceSinkFactory.createSink(DataModelDefinition<T> definition,
TestContext context)
Creates a new sink.
|
abstract <T> DataModelSink |
DataModelSinkFactory.createSink(DataModelDefinition<T> definition,
TestContext context)
Creates a new sink.
|
<T> DataModelSource |
SourceDataModelSourceFactory.createSource(DataModelDefinition<T> definition,
TestContext context) |
abstract <T> DataModelSource |
DataModelSourceFactory.createSource(DataModelDefinition<T> definition,
TestContext context)
Creates a new source.
|
<V> DataModelSource |
SpiExporterRetriever.createSource(DataModelDefinition<V> definition,
ExporterDescription description,
TestContext context) |
abstract <V> DataModelSource |
AbstractExporterRetriever.createSource(DataModelDefinition<V> definition,
T description)
Creates a
DataModelSource to retrieve what the target exporter had created. |
<V> DataModelSource |
ExporterRetriever.createSource(DataModelDefinition<V> definition,
T description,
TestContext context)
Creates a
DataModelSource to retrieve what the target exporter had created. |
<V> DataModelSource |
AbstractExporterRetriever.createSource(DataModelDefinition<V> definition,
T description,
TestContext context)
Redirects to
createSource(definition, description) . |
abstract <T> Verifier |
VerifierFactory.createVerifier(DataModelDefinition<T> definition,
VerifyContext context)
Creates a new rule.
|
<T> VerifyRule |
VerifyRuleProvider.get(DataModelDefinition<T> definition,
VerifyContext context,
URI source)
Creates a
VerifyRule object from the specified source. |
<T> VerifyRule |
SpiVerifyRuleProvider.get(DataModelDefinition<T> definition,
VerifyContext context,
URI source) |
<T> DataModelSource |
SpiDataModelSourceProvider.open(DataModelDefinition<T> definition,
URI source,
TestContext context) |
<T> DataModelSource |
DataModelSourceProvider.open(DataModelDefinition<T> definition,
URI source,
TestContext context)
Creates a
DataModelSource object corresponding to the specified URI. |
void |
DataModelScanner.scan(DataModelDefinition<?> definition,
C context)
Starts scan and visits each property method.
|
void |
DataModelScanner.scan(DataModelDefinition<?> definition,
PropertyName name,
C context)
Scans about single property.
|
<T> VerifyRuleFactory |
TestDataToolProvider.toVerifyRuleFactory(DataModelDefinition<T> dataModelClass,
ModelVerifier<? super T> verifier)
Converts model verifier into a corresponding rule.
|
<T> VerifyRuleFactory |
AbstractTestDataToolProvider.toVerifyRuleFactory(DataModelDefinition<T> dataModel,
ModelVerifier<? super T> verifier) |
<T> TestRule |
TestDataToolProvider.toVerifyRuleFragment(DataModelDefinition<T> dataModelClass,
ModelTester<? super T> tester)
Converts model tester into a corresponding rule.
|
<T> TestRule |
AbstractTestDataToolProvider.toVerifyRuleFragment(DataModelDefinition<T> dataModelClass,
ModelTester<? super T> tester) |
Constructor and Description |
---|
Builder(DataModelDefinition<T> definition)
Creates a new instance.
|
IteratorDataModelSource(DataModelDefinition<E> definition,
Iterator<? extends E> iterator)
Creates a new instance.
|
ModelVerifierDriver(ModelVerifier<? super T> verifier,
DataModelDefinition<? extends T> definition)
Creates a new instance.
|
SourceDataModelSource(DataModelDefinition<T> definition,
Source<? extends T> source)
Creates a new instance.
|
TesterDriver(ModelTester<? super T> verifier,
DataModelDefinition<? extends T> definition)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
<V> ModelOutput<V> |
DirectFileInputPreparator.createOutput(DataModelDefinition<V> definition,
DirectFileInputDescription description,
TestContext context) |
<V> ModelOutput<V> |
DirectFileOutputRetriever.createOutput(DataModelDefinition<V> definition,
DirectFileOutputDescription description,
TestContext context) |
<V> DataModelSource |
DirectFileOutputRetriever.createSource(DataModelDefinition<V> definition,
DirectFileOutputDescription description,
TestContext context) |
Modifier and Type | Method and Description |
---|---|
<T> DataModelSink |
ExcelSheetSinkProvider.create(DataModelDefinition<T> definition,
URI sink,
TestContext context) |
<T> DataModelSink |
ExcelSheetSinkFactory.createSink(DataModelDefinition<T> definition,
TestContext context) |
<T> VerifyRule |
ExcelSheetRuleProvider.get(DataModelDefinition<T> definition,
VerifyContext context,
URI source) |
<T> DataModelSource |
ExcelSheetSourceProvider.open(DataModelDefinition<T> definition,
URI source,
TestContext context) |
Constructor and Description |
---|
ExcelSheetDataModelSource(DataModelDefinition<?> definition,
URI id,
org.apache.poi.ss.usermodel.Sheet sheet)
Creates a new instance.
|
ExcelSheetSink(DataModelDefinition<?> definition,
org.apache.poi.ss.usermodel.Sheet sheet,
int maxColumns)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
<T> DifferenceSink |
HtmlDifferenceSinkProvider.create(DataModelDefinition<T> definition,
URI sink,
TestContext context) |
<T> DifferenceSink |
HtmlDifferenceSinkFactory.createSink(DataModelDefinition<T> definition,
TestContext context) |
Constructor and Description |
---|
HtmlDifferenceSink(File output,
DataModelDefinition<?> definition)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
static DataModelReflection |
JsonObjectDriver.convert(DataModelDefinition<?> definition,
com.google.gson.JsonElement element)
Converts JsonElement into a corresponded
DataModelReflection . |
<T> DataModelSource |
JsonSourceProvider.open(DataModelDefinition<T> definition,
URI source,
TestContext context) |
Constructor and Description |
---|
JsonDataModelSource(URI id,
DataModelDefinition<?> definition,
Reader reader)
Creates a new instance.
|
Constructor and Description |
---|
BasicDataLoader(TestContext context,
DataModelDefinition<T> definition,
DataModelSourceFactory factory)
Creates a new instance.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultDataModelDefinition<T>
Default implementation of
DataModelDefinition . |
class |
SimpleDataModelDefinition<T>
Simple
DataModelDefinition for classes which declare public fields directly. |
Modifier and Type | Method and Description |
---|---|
<T> DataModelDefinition<T> |
DefaultDataModelAdapter.get(Class<T> modelClass) |
Constructor and Description |
---|
VerifyRuleBuilder(DataModelDefinition<?> definition)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
<V> ModelOutput<V> |
WindGateExporterRetriever.createOutput(DataModelDefinition<V> definition,
WindGateExporterDescription description,
TestContext context) |
<V> ModelOutput<V> |
WindGateImporterPreparator.createOutput(DataModelDefinition<V> definition,
WindGateImporterDescription description,
TestContext context) |
<V> DataModelSource |
WindGateExporterRetriever.createSource(DataModelDefinition<V> definition,
WindGateExporterDescription description,
TestContext context) |
<T> DataModelSource |
WindGateSourceProvider.open(DataModelDefinition<T> definition,
URI source,
TestContext context) |
Constructor and Description |
---|
WindGateSource(SourceDriver<T> driver,
DataModelDefinition<T> definition)
Creates a new instance.
|
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.