Module org.junit.jupiter.params
Class StringToNumberConverter
java.lang.Object
org.junit.jupiter.params.converter.StringToNumberConverter
- All Implemented Interfaces:
StringToObjectConverter
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.junit.jupiter.params.converter.StringToObjectConverter
convert
-
Field Details
-
CONVERTERS
-
-
Constructor Details
-
StringToNumberConverter
StringToNumberConverter()
-
-
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
-