public class PropertyEditorCollectionConverter 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 registered Property EditorsCOLON, EMPTY_STRING| Constructor and Description |
|---|
PropertyEditorCollectionConverter(EasyParamSignature signature,
String paramName,
Collection collection)
Construct a new PropertyEditorCollectionConverter
|
| 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 PropertyEditorCollectionConverter(EasyParamSignature signature, String paramName, Collection collection)
signature - an instance of EasyParamSignatureparamName - The name of the parameter that is being convertedcollection - The collection instance in case of Collection type parameterCopyright © 2014. All rights reserved.