Package | Description |
---|---|
com.asakusafw.testdriver |
Test driver classes.
|
com.asakusafw.testdriver.core |
Core classes of test moderator.
|
com.asakusafw.testdriver.directio.api |
Tester APIs of Direct I/O.
|
com.asakusafw.testdriver.loader |
Data loaders and its mock implementations.
|
com.asakusafw.testdriver.tools.runner |
Asakusa batch application runner using test driver facilities.
|
Modifier and Type | Method and Description |
---|---|
DataModelSourceFactory |
DriverInputBase.getSource()
Returns the data source for this input.
|
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 DataModelSourceFactory |
DriverInputBase.toDataModelSourceFactory(Iterable<? extends T> sourceObjects)
Converts an data model object collection into
DataModelSourceFactory which provides data models. |
protected <T> DataModelSourceFactory |
DriverElementBase.toDataModelSourceFactory(Provider<? extends Source<? extends T>> sourceProvider)
Converts an data model object collection into
DataModelSourceFactory which provides data models. |
protected DataModelSourceFactory |
DriverElementBase.toDataModelSourceFactory(String sourcePath)
Converts a source path into
DataModelSourceFactory which provides data models. |
Modifier and Type | Method and Description |
---|---|
protected Map<ImporterDescription,DataModelSourceFactory> |
TesterBase.getExternalResources()
Returns initial data providers for the external resources.
|
Modifier and Type | Method and Description |
---|---|
<T> DataLoader<T> |
OperatorTestEnvironment.loader(Class<T> dataType,
DataModelSourceFactory factory)
Returns a new data loader.
|
<T> DataLoader<T> |
TesterBase.loader(Class<T> dataType,
DataModelSourceFactory factory)
Returns a new data loader.
|
S |
FlowDriverOutput.prepare(DataModelSourceFactory factory)
Sets the initial data set for this output.
|
S |
FlowDriverInput.prepare(DataModelSourceFactory factory)
Sets the test data set for this input.
|
S |
FlowDriverOutput.prepare(DataModelSourceFactory factory,
Consumer<? super T> transformer)
Sets the test data set for this output.
|
S |
FlowDriverInput.prepare(DataModelSourceFactory factory,
Consumer<? super T> transformer)
Sets the test data set for this input.
|
void |
TesterBase.putExternalResource(ImporterDescription importer,
DataModelSourceFactory source)
Puts initial data for the external resource.
|
protected void |
DriverInputBase.setSource(DataModelSourceFactory source)
Sets the data source for this input.
|
protected VerifierFactory |
DriverOutputBase.toVerifierFactory(DataModelSourceFactory expectedFactory,
VerifyRuleFactory ruleFactory)
Converts a pair of expected data set factory and verify rule factory into
VerifyRuleFactory . |
S |
FlowDriverOutput.verify(DataModelSourceFactory expectedFactory,
ModelVerifier<? super T> modelVerifier)
Enables to verify the results of this output.
|
S |
FlowDriverOutput.verify(DataModelSourceFactory expectedFactory,
String verifyRulePath)
Enables to verify the results of this output.
|
S |
FlowDriverOutput.verify(DataModelSourceFactory expectedFactory,
String verifyRulePath,
ModelTester<? super T> tester)
Enables to verify the results of this output.
|
Modifier and Type | Class and Description |
---|---|
class |
SourceDataModelSourceFactory
A
DataModelSourceFactory implementation for SourceDataModelSource . |
Modifier and Type | Method and Description |
---|---|
default DataModelSourceFactory |
DataModelSourceFilter.apply(DataModelSourceFactory factory)
Applies this filter into the factory.
|
DataModelSourceFactory |
TestToolRepository.getDataModelSourceFactory(URI uri) |
DataModelSourceFactory |
TestDataToolProvider.getDataModelSourceFactory(URI uri)
Returns a
DataModelSourceFactory for the URI. |
Modifier and Type | Method and Description |
---|---|
default DataModelSourceFactory |
DataModelSourceFilter.apply(DataModelSourceFactory factory)
Applies this filter into the factory.
|
void |
TestModerator.prepare(Class<?> modelClass,
ExporterDescription description,
DataModelSourceFactory source)
Prepares the target exporter's output using the specified source.
|
void |
TestModerator.prepare(Class<?> modelClass,
ImporterDescription description,
DataModelSourceFactory source)
Prepares the target importer's input using the specified source.
|
VerifierFactory |
TestDataToolProvider.toVerifierFactory(DataModelSourceFactory expectedFactory,
VerifyRuleFactory ruleFactory)
Returns a
VerifierFactory for expected data set and a verification rule. |
VerifierFactory |
AbstractTestDataToolProvider.toVerifierFactory(DataModelSourceFactory expectedFactory,
VerifyRuleFactory ruleFactory) |
void |
TestModerator.validate(Class<?> modelClass,
String label,
DataModelSourceFactory target)
Validates
DataModelSource s. |
Modifier and Type | Method and Description |
---|---|
abstract void |
DirectIoTester.DirectIoResource.prepare(DataModelSourceFactory source)
Sets a data source for this external resource.
|
Constructor and Description |
---|
BasicDataLoader(TestContext context,
DataModelDefinition<T> definition,
DataModelSourceFactory factory)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
BatchTestTool.prepare(ImporterDescription description,
DataModelSourceFactory source)
Prepares jobflow input.
|
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.