Interface TestParameter.TestParameterValuesProvider
-
- All Known Implementing Classes:
TestParameter.DefaultTestParameterValuesProvider
,TestParameterValuesProvider
- Enclosing class:
- TestParameter
@Deprecated public static interface TestParameter.TestParameterValuesProvider
Deprecated.UseTestParameterValuesProvider
instead. The replacement implements this same interface, but with an additional Context parameter.Interface for custom providers of test parameter values.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description List<?>
provideValues()
Deprecated.default TestParameterValue
value(Object wrappedValue)
Deprecated.Wraps the given value in an object that allows you to give the parameter value a different name.
-
-
-
Method Detail
-
provideValues
List<?> provideValues()
Deprecated.
-
value
default TestParameterValue value(@Nullable Object wrappedValue)
Deprecated.Wraps the given value in an object that allows you to give the parameter value a different name. The TestParameterInjector framework will recognize the returnedTestParameterValue
instances and unwrap them at injection time.Usage:
value(file.content).withName(file.name)
.Do not override this method.
-
-