Interface TestParameter.TestParameterValuesProvider
- All Known Implementing Classes:
TestParameter.DefaultTestParameterValuesProvider
,TestParameterValuesProvider
- Enclosing class:
- TestParameter
Deprecated.
Interface for custom providers of test parameter values.
-
Method Summary
Modifier and TypeMethodDescriptionList<?>
Deprecated.default TestParameterValue
Deprecated.Wraps the given value in an object that allows you to give the parameter value a different name.
-
Method Details
-
provideValues
List<?> provideValues()Deprecated. -
value
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.
-
TestParameterValuesProvider
instead. The replacement implements this same interface, but with an additional Context parameter.