Module org.junit.jupiter.params
Class StringToEnumConverter
java.lang.Object
org.junit.jupiter.params.converter.StringToEnumConverter
- All Implemented Interfaces:
StringToObjectConverter
-
Constructor Details
-
StringToEnumConverter
StringToEnumConverter()
-
-
Method Details
-
canConvert
Description copied from interface:StringToObjectConverterDetermine if this converter can convert from aStringto the supplied target type (which is guaranteed to be a wrapper type for primitives — for example,Integerinstead ofint).- Specified by:
canConvertin interfaceStringToObjectConverter
-
convert
Description copied from interface:StringToObjectConverterConvert the suppliedStringto the supplied target type (which is guaranteed to be a wrapper type for primitives — for example,Integerinstead ofint).- Specified by:
convertin interfaceStringToObjectConverter- Throws:
Exception
-