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.tools.runner |
Asakusa batch application runner using test driver facilities.
|
com.asakusafw.testdriver.windgate |
Moderates test input/result using WindGate.
|
Modifier and Type | Class and Description |
---|---|
class |
TestDriverContext
Represents contextual information for test drivers.
|
Modifier and Type | Method and Description |
---|---|
TestContext |
OperatorTestEnvironment.getTestContext()
Returns the
TestContext for the current environment. |
Modifier and Type | Class and Description |
---|---|
static class |
TestContext.Empty
Empty
TestContext . |
Modifier and Type | Method and Description |
---|---|
TestContext |
VerifyContext.getTestContext()
Returns the corresponded test context.
|
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) |
<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> 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) |
<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) . |
<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 |
SpiExporterRetriever.truncate(ExporterDescription description,
TestContext context) |
void |
SpiImporterPreparator.truncate(ImporterDescription description,
TestContext context) |
void |
AbstractImporterPreparator.truncate(T description,
TestContext context)
Redirects to
this.truncate(description) . |
void |
ExporterRetriever.truncate(T description,
TestContext context)
Truncates all resources which the exporter will use.
|
void |
AbstractExporterRetriever.truncate(T description,
TestContext context)
Redirects to
this.truncate(description) . |
void |
ImporterPreparator.truncate(T description,
TestContext context)
Truncates all resources which the importer will use.
|
Constructor and Description |
---|
TestDataPreparator(TestContext context,
ClassLoader serviceClassLoader)
Deprecated.
Creates a new instance which uses registerd services.
|
TestDataPreparator(TestContext context,
DataModelAdapter adapter,
DataModelSourceProvider sources,
ImporterPreparator<ImporterDescription> importers,
ExporterRetriever<ExporterDescription> exporters)
Deprecated.
Creates a new instance which uses the specified services.
|
TestModerator(TestToolRepository repository,
TestContext context)
Creates a new instance which uses registerd services.
|
TestResultInspector(TestContext context,
ClassLoader serviceClassLoader)
Deprecated.
Creates a new instance which uses registerd services.
|
TestResultInspector(TestContext context,
DataModelAdapter adapter,
DataModelSourceProvider sources,
VerifyRuleProvider rules,
ExporterRetriever<ExporterDescription> retrievers)
Deprecated.
Creates a new instance which uses the specified services.
|
VerifyContext(TestContext testContext)
Creates a new instance.
|
VerifyContext(TestContext testContext,
Date testStarted)
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) |
void |
DirectFileInputPreparator.truncate(DirectFileInputDescription description,
TestContext context) |
void |
DirectFileOutputRetriever.truncate(DirectFileOutputDescription description,
TestContext context) |
Constructor and Description |
---|
DirectIoTestHelper(TestContext context,
String rootPath)
Creates a new instance.
|
DirectIoTestHelper(TestContext context,
String rootPath,
org.apache.hadoop.conf.Configuration configuration)
Creates a new instance.
|
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> DataModelSource |
ExcelSheetSourceProvider.open(DataModelDefinition<T> definition,
URI source,
TestContext context) |
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) |
Modifier and Type | Method and Description |
---|---|
<T> DataModelSource |
JsonSourceProvider.open(DataModelDefinition<T> definition,
URI source,
TestContext context) |
Constructor and Description |
---|
BasicDataLoader(TestContext context,
DataModelDefinition<T> definition,
DataModelSourceFactory factory)
Creates a new instance.
|
Modifier and Type | Class and Description |
---|---|
class |
BatchTestCollector
Collects batch execution outputs.
|
class |
BatchTestPreparator
Prepares batch execution inputs.
|
class |
BatchTestTool
Testing tools for Asakusa batch applications.
|
class |
BatchTestTruncator
Truncates batch execution inputs/outputs.
|
class |
BatchTestVerifier
Verifies batch execution results.
|
Constructor and Description |
---|
BatchTestTool(Class<?> callerClass,
TestContext context)
Creates a new instance.
|
BatchTestTool(Class<?> callerClass,
TestContext context,
TestToolRepository tools)
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) |
static ProfileContext |
WindGateTestHelper.createProfileContext(TestContext testContext)
Creates a WindGate
ProfileContext for the test context. |
static ResourceManipulator |
WindGateTestHelper.createResourceManipulator(TestContext testContext,
WindGateProcessDescription description,
ParameterList arguments)
Creates a
ResourceMirror for the description. |
<V> DataModelSource |
WindGateExporterRetriever.createSource(DataModelDefinition<V> definition,
WindGateExporterDescription description,
TestContext context) |
<T> DataModelSource |
WindGateSourceProvider.open(DataModelDefinition<T> definition,
URI source,
TestContext context) |
void |
WindGateExporterRetriever.truncate(WindGateExporterDescription description,
TestContext context) |
void |
WindGateImporterPreparator.truncate(WindGateImporterDescription description,
TestContext context) |
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.