public class UserDefinedCollectionConverter 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 user defined converterCOLON, EMPTY_STRING| Constructor and Description |
|---|
UserDefinedCollectionConverter(EasyParamSignature signature,
String paramName,
Collection collection)
Construct a new UserDefinedCollectionConverter
|
| 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 UserDefinedCollectionConverter(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.