junitparams.converters.ParamConverter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of JUnitParams Show documentation
Show all versions of JUnitParams Show documentation
Better parameterised tests for JUnit
package junitparams.converters;
/**
*
* Implement this interface if you want to convert params from some
* representation to the type expected by your test method's parameter.
*
* <T> is the expected parameter type.
*
* @deprecated use {@link Converter}
* @author Pawel Lipinski
*/
@Deprecated
public interface ParamConverter {
T convert(Object param, String options) throws ConversionFailedException;
}