Class TestParameters.TestParametersValues
- java.lang.Object
-
- com.google.testing.junit.testparameterinjector.TestParameters.TestParametersValues
-
- Enclosing class:
- TestParameters
public abstract static class TestParameters.TestParametersValues extends Object
A set of parameters for a single method invocation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TestParameters.TestParametersValues.Builder
Builder forTestParameters.TestParametersValues
.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static TestParameters.TestParametersValues.Builder
builder()
abstract String
name()
A name for this set of parameters that will be used for describing this test.abstract Map<String,Object>
parametersMap()
A map, mapping parameter names to their values.
-
-
-
Method Detail
-
name
public abstract String name()
A name for this set of parameters that will be used for describing this test.Example: If a test method is called "personIsAdult" and this name is "teenager", the name of the resulting test will be "personIsAdult[teenager]".
-
parametersMap
public abstract Map<String,Object> parametersMap()
A map, mapping parameter names to their values.
-
builder
public static TestParameters.TestParametersValues.Builder builder()
-
-