public class CollectionConverter 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 collection type instanceCOLON, EMPTY_STRING| Constructor and Description |
|---|
CollectionConverter(EasyParamSignature signature,
String paramName,
Boolean convertEmptyToNull,
DateTimeFormat dateTimeFormat)
Construct a new CollectionConverter
|
| 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 CollectionConverter(EasyParamSignature signature, String paramName, Boolean convertEmptyToNull, DateTimeFormat dateTimeFormat)
signature - An instance of EasyParamSignature that contains information about the signature of the test method.paramName - The name of the parameter for which the data is being convertedconvertEmptyToNull - Whether empty values should be converted to Null values or notdateTimeFormat - the user specified date time format to useCopyright © 2014. All rights reserved.