Class TestParameterValue
java.lang.Object
com.google.testing.junit.testparameterinjector.TestParameterValue
public class TestParameterValue extends Object
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 Type Method Description TestParameterValuewithName(String name)Returns a newTestParameterValueinstance that stores the given name.static TestParameterValuewrap(Object wrappedValue)Wraps the given value.
-
Method Details
-
wrap
Wraps the given value. -
withName
Returns a newTestParameterValueinstance that stores the given name. The TestParameterInjector framework will use this name instead ofwrappedValue.toString()when generating the test name.
-