public class ConversionDelegator extends Object implements BaseConverter<List<Map<String,Object>>,List<org.junit.experimental.theories.PotentialAssignment>>
BaseConverter.convert(Object) method.
It works as follows :
COLON, EMPTY_STRING| Constructor and Description |
|---|
ConversionDelegator(EasyParamSignature signature,
String paramName,
Boolean convertEmptyToNull,
DateTimeFormat dateTimeFormat)
Construct a new ConversionDelegator
|
ConversionDelegator(EasyParamSignature signature,
String paramName,
LinkedHashMap<String,BaseConverter<List<Map<String,Object>>,List<org.junit.experimental.theories.PotentialAssignment>>> converters)
Construct a new ConversionDelegator
|
| Modifier and Type | Method and Description |
|---|---|
List<org.junit.experimental.theories.PotentialAssignment> |
convert(List<Map<String,Object>> convertFrom)
Convert the raw data into a list of
PotentialAssignment instance
that EasyTest uses to provide the right set of test data to the test method |
public ConversionDelegator(EasyParamSignature signature, String paramName, Boolean convertEmptyToNull, DateTimeFormat dateTimeFormat)
signature - the EasyParamSignature instance that contains all the information regarding the parameter whose data is currently being converted.paramName - the optional name of the parameter with which to search for the data.convertEmptyToNull - whether an empty string be converted to Null or notdateTimeFormat - User specified date time formatpublic ConversionDelegator(EasyParamSignature signature, String paramName, LinkedHashMap<String,BaseConverter<List<Map<String,Object>>,List<org.junit.experimental.theories.PotentialAssignment>>> converters)
signature - the EasyParamSignature instance that contains all the information regarding the parameter whose data is currently being converted.paramName - the optional name of the parameter with which to search for the data.converters - The list of converters that a user can specify.Copyright © 2014. All rights reserved.