public class StandardObjectCollectionConverter extends Object implements BaseConverter<List<Map<String,Object>>,List<org.junit.experimental.theories.PotentialAssignment>>
BaseConverter that is responsible for converting the raw data in to a user defined type instance
using any jav standard objectCOLON, EMPTY_STRING| Constructor and Description |
|---|
StandardObjectCollectionConverter(Collection collection,
EasyParamSignature signature,
String paramName,
Boolean convertEmptyToNull,
DateTimeFormat dateTimeFormat)
Construct a new StandardObjectCollectionConverter
|
| 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 StandardObjectCollectionConverter(Collection collection, EasyParamSignature signature, String paramName, Boolean convertEmptyToNull, DateTimeFormat dateTimeFormat)
collection - The collection instance in case of Collection type parametersignature - an instance of EasyParamSignatureparamName - The name of the parameter that is being convertedconvertEmptyToNull - whether empty values be converted to null or notdateTimeFormat - user specified date time formatCopyright © 2014. All rights reserved.