Package | Description |
---|---|
com.asakusafw.testdriver.core |
Core classes of test moderator.
|
com.asakusafw.testdriver.excel |
Test data/condition definitions in Excel sheets.
|
com.asakusafw.testdriver.excel.extension |
Extensions for test data providers using Excel books.
|
com.asakusafw.testdriver.json |
JSON style Test data definitions.
|
com.asakusafw.testdriver.model |
Default implementation of data model adapters.
|
com.asakusafw.testdriver.rule |
Tiny rule builder.
|
Modifier and Type | Field and Description |
---|---|
protected Map<PropertyName,?> |
DataModelReflection.properties
The actual properties in this data-model.
|
protected Map<PropertyName,Object> |
DataModelDefinition.Builder.properties
The current properties (includes
null values). |
Modifier and Type | Method and Description |
---|---|
static PropertyName |
PropertyName.newInstance(List<String> words)
Creates a new instance.
|
static PropertyName |
PropertyName.newInstance(String... words)
Creates a new instance.
|
static PropertyName |
PropertyName.parse(String term)
Parses a property name term and creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
Collection<PropertyName> |
DataModelDefinition.getProperties()
returns the all public property names.
|
Modifier and Type | Method and Description |
---|---|
DataModelDefinition.Builder<T> |
DataModelDefinition.Builder.add(PropertyName name,
Object value)
Adds a property to the building object.
|
void |
DataModelScanner.anyProperty(PropertyName name,
C context)
Invoked each property.
|
void |
DataModelScanner.booleanProperty(PropertyName name,
C context)
Invoked each
Boolean property. |
void |
DataModelScanner.byteProperty(PropertyName name,
C context)
Invoked each
Byte property. |
int |
PropertyName.compareTo(PropertyName o) |
void |
DataModelScanner.dateProperty(PropertyName name,
C context)
Invoked each
PropertyType.DATE property. |
void |
DataModelScanner.datetimeProperty(PropertyName name,
C context)
Invoked each
PropertyType.DATETIME property. |
void |
DataModelScanner.decimalProperty(PropertyName name,
C context)
Invoked each
BigDecimal property. |
void |
DataModelScanner.doubleProperty(PropertyName name,
C context)
Invoked each
Double property. |
void |
DataModelScanner.floatProperty(PropertyName name,
C context)
Invoked each
Float property. |
<A extends Annotation> |
DataModelDefinition.getAnnotation(PropertyName name,
Class<A> annotationType)
Returns the property's annotation for the specified annotation type.
|
PropertyType |
DataModelDefinition.getType(PropertyName name)
Returns the property type.
|
Object |
DataModelReflection.getValue(PropertyName name)
Returns the property value.
|
void |
DataModelScanner.integerProperty(PropertyName name,
C context)
Invoked each
BigInteger property. |
void |
DataModelScanner.intProperty(PropertyName name,
C context)
Invoked each
Integer property. |
void |
DataModelScanner.longProperty(PropertyName name,
C context)
Invoked each
Long property. |
void |
DataModelScanner.objectProperty(PropertyName name,
C context)
Invoked each
DataModelReflection property. |
void |
DataModelScanner.scan(DataModelDefinition<?> definition,
PropertyName name,
C context)
Scans about single property.
|
void |
DataModelScanner.sequenceProperty(PropertyName name,
C context)
Invoked each
Sequence property. |
void |
DataModelScanner.shortProperty(PropertyName name,
C context)
Invoked each
Short property. |
void |
DataModelScanner.stringProperty(PropertyName name,
C context)
Invoked each
String property. |
void |
DataModelScanner.timeProperty(PropertyName name,
C context)
Invoked each
PropertyType.TIME property. |
Constructor and Description |
---|
DataModelReflection(Map<PropertyName,?> properties)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
ValuePredicate<?> |
ExcelSheetRuleExtension.resolve(VerifyContext context,
PropertyName name,
PropertyType type,
String expression)
Resolves a rule expression and returns its
ValuePredicate . |
Modifier and Type | Method and Description |
---|---|
ValuePredicate<?> |
ExcelSheetApproximateRule.resolve(VerifyContext context,
PropertyName name,
PropertyType type,
String expression) |
ValuePredicate<?> |
ExcelSheetOrdinalRule.resolve(VerifyContext context,
PropertyName name,
PropertyType type,
String expression) |
Modifier and Type | Method and Description |
---|---|
void |
JsonObjectDriver.booleanProperty(PropertyName name,
com.google.gson.JsonObject context) |
void |
JsonObjectDriver.byteProperty(PropertyName name,
com.google.gson.JsonObject context) |
void |
JsonObjectDriver.dateProperty(PropertyName name,
com.google.gson.JsonObject context) |
void |
JsonObjectDriver.datetimeProperty(PropertyName name,
com.google.gson.JsonObject context) |
void |
JsonObjectDriver.decimalProperty(PropertyName name,
com.google.gson.JsonObject context) |
void |
JsonObjectDriver.doubleProperty(PropertyName name,
com.google.gson.JsonObject context) |
void |
JsonObjectDriver.floatProperty(PropertyName name,
com.google.gson.JsonObject context) |
void |
JsonObjectDriver.integerProperty(PropertyName name,
com.google.gson.JsonObject context) |
void |
JsonObjectDriver.intProperty(PropertyName name,
com.google.gson.JsonObject context) |
void |
JsonObjectDriver.longProperty(PropertyName name,
com.google.gson.JsonObject context) |
void |
JsonObjectDriver.shortProperty(PropertyName name,
com.google.gson.JsonObject context) |
void |
JsonObjectDriver.stringProperty(PropertyName name,
com.google.gson.JsonObject context) |
void |
JsonObjectDriver.timeProperty(PropertyName name,
com.google.gson.JsonObject context) |
Modifier and Type | Method and Description |
---|---|
Collection<PropertyName> |
SimpleDataModelDefinition.getProperties() |
Collection<PropertyName> |
DefaultDataModelDefinition.getProperties() |
Modifier and Type | Method and Description |
---|---|
<A extends Annotation> |
SimpleDataModelDefinition.getAnnotation(PropertyName name,
Class<A> annotationType) |
<A extends Annotation> |
DefaultDataModelDefinition.getAnnotation(PropertyName name,
Class<A> annotationType) |
PropertyType |
SimpleDataModelDefinition.getType(PropertyName name) |
PropertyType |
DefaultDataModelDefinition.getType(PropertyName name) |
static PropertyType |
SimpleDataModelDefinition.getType(PropertyName name,
Class<?> type)
Returns property type kind corresponded to the property name and type.
|
Modifier and Type | Method and Description |
---|---|
PropertyName |
VerifyRuleBuilder.Property.getName()
Returns the name of this property.
|
PropertyName |
PropertyCondition.getPropertyName()
Returns the target property name.
|
Modifier and Type | Method and Description |
---|---|
Map<PropertyName,Object> |
VerifyRuleInterpretor.getKey(DataModelReflection target) |
Constructor and Description |
---|
PropertyCondition(PropertyName name,
Class<? extends T> type,
List<? extends ValuePredicate<? super T>> predicates)
Creates a new instance.
|
Constructor and Description |
---|
VerifyRuleInterpretor(List<PropertyName> keys,
Set<DataModelCondition> modelConditions,
List<? extends PropertyCondition<?>> propertyConditions)
Creates a new instance.
|
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.