Class TestParameterValue
java.lang.Object
com.google.testing.junit.testparameterinjector.TestParameterValue
Wrapper class around a parameter value. Use this to give a value a name that is different from
its
toString()
method.-
Method Summary
Modifier and TypeMethodDescriptiontoString()
Returns a newTestParameterValue
instance that stores the given name.static TestParameterValue
Wraps the given value.
-
Method Details
-
wrap
Wraps the given value. -
withName
Returns a newTestParameterValue
instance that stores the given name. The TestParameterInjector framework will use this name instead ofwrappedValue.toString()
when generating the test name. -
toString
-