public class ParamConstructorConverter 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 the type's constructorCOLON, EMPTY_STRING| Constructor and Description |
|---|
ParamConstructorConverter(Class<?> parameterType,
String paramName,
Collection collection,
Boolean convertEmptyToNull,
DateTimeFormat dateTimeFormat)
Construct a new ParamConstructorConverter
|
| 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 ParamConstructorConverter(Class<?> parameterType, String paramName, Collection collection, Boolean convertEmptyToNull, DateTimeFormat dateTimeFormat)
parameterType - The type of parameter to convert toparamName - The name of the parameter that is being convertedcollection - The optional collection instance in case of Collection type parameterconvertEmptyToNull - whether empty string be converted to null or notdateTimeFormat - the user specified date time format to useCopyright © 2014. All rights reserved.