Interface TestParameter.TestParameterValuesProvider

All Known Implementing Classes:
TestParameter.DefaultTestParameterValuesProvider, TestParameterValuesProvider
Enclosing class:
TestParameter

@Deprecated public static interface TestParameter.TestParameterValuesProvider
Deprecated.
Use TestParameterValuesProvider instead. The replacement implements this same interface, but with an additional Context parameter.
Interface for custom providers of test parameter values.
  • Method Summary

    Modifier and Type
    Method
    Description
    List<?>
    Deprecated.
     
    value(Object wrappedValue)
    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

      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 returned TestParameterValue instances and unwrap them at injection time.

      Usage: value(file.content).withName(file.name).

      Do not override this method.