public class StandardObjectConverter 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 java standard objectCOLON, EMPTY_STRING| Constructor and Description |
|---|
StandardObjectConverter(Class<?> parameterType,
String paramName,
Boolean convertEmptyToNull,
DateTimeFormat dateTimeFormat)
Construct a new StandardObjectConverter
|
| 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 StandardObjectConverter(Class<?> parameterType, String paramName, Boolean convertEmptyToNull, DateTimeFormat dateTimeFormat)
parameterType - The type of parameter to convert the raw data toparamName - The name of the parameter that 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.