A B C D G I N P T V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addParameter(String, Object) - Method in class com.google.testing.junit.testparameterinjector.TestParameters.TestParametersValues.Builder
-
Adds a parameter by its name.
- addParameters(Map<String, Object>) - Method in class com.google.testing.junit.testparameterinjector.TestParameters.TestParametersValues.Builder
-
Adds parameters by thris names.
B
- build() - Method in class com.google.testing.junit.testparameterinjector.TestParameters.TestParametersValues.Builder
- builder() - Static method in class com.google.testing.junit.testparameterinjector.TestParameters.TestParametersValues
- Builder() - Constructor for class com.google.testing.junit.testparameterinjector.TestParameters.TestParametersValues.Builder
C
- com.google.testing.junit.testparameterinjector - package com.google.testing.junit.testparameterinjector
- customName() - Method in annotation type com.google.testing.junit.testparameterinjector.TestParameters
-
Overrides the name of the parameter set that is used in the test name.
D
- DefaultTestParametersValuesProvider() - Constructor for class com.google.testing.junit.testparameterinjector.TestParameters.DefaultTestParametersValuesProvider
- DefaultTestParameterValuesProvider() - Constructor for class com.google.testing.junit.testparameterinjector.TestParameter.DefaultTestParameterValuesProvider
G
- getOtherAnnotation(Class<A>) - Method in class com.google.testing.junit.testparameterinjector.TestParametersValuesProvider.Context
-
Returns the only annotation with the given type on the method or constructor that was annotated with @TestParameters.
- getOtherAnnotation(Class<A>) - Method in class com.google.testing.junit.testparameterinjector.TestParameterValuesProvider.Context
-
Returns the only annotation with the given type on the field or parameter that was annotated with @TestParameter.
- getOtherAnnotations(Class<A>) - Method in class com.google.testing.junit.testparameterinjector.TestParametersValuesProvider.Context
-
Returns all annotations with the given type on the method or constructor that was annotated with @TestParameter.
- getOtherAnnotations(Class<A>) - Method in class com.google.testing.junit.testparameterinjector.TestParameterValuesProvider.Context
-
Returns all annotations with the given type on the field or parameter that was annotated with @TestParameter.
- getValueType(Class<? extends Annotation>, Optional<Class<?>>) - Method in class com.google.testing.junit.testparameterinjector.TestParameter.InternalImplementationOfThisParameter
I
- InternalImplementationOfThisParameter() - Constructor for class com.google.testing.junit.testparameterinjector.TestParameter.InternalImplementationOfThisParameter
N
- name() - Method in class com.google.testing.junit.testparameterinjector.TestParameters.TestParametersValues
-
A name for this set of parameters that will be used for describing this test.
- name(String) - Method in class com.google.testing.junit.testparameterinjector.TestParameters.TestParametersValues.Builder
-
Sets a name for this set of parameters that will be used for describing this test.
P
- parametersMap() - Method in class com.google.testing.junit.testparameterinjector.TestParameters.TestParametersValues
-
A map, mapping parameter names to their values.
- provideValues() - Method in class com.google.testing.junit.testparameterinjector.TestParameter.DefaultTestParameterValuesProvider
- provideValues() - Method in interface com.google.testing.junit.testparameterinjector.TestParameter.TestParameterValuesProvider
-
Deprecated.
- provideValues() - Method in class com.google.testing.junit.testparameterinjector.TestParameters.DefaultTestParametersValuesProvider
- provideValues() - Method in interface com.google.testing.junit.testparameterinjector.TestParameters.TestParametersValuesProvider
-
Deprecated.
- provideValues() - Method in class com.google.testing.junit.testparameterinjector.TestParametersValuesProvider
-
Deprecated.This method should never be called as it will simply throw an
UnsupportedOperationException
. - provideValues() - Method in class com.google.testing.junit.testparameterinjector.TestParameterValuesProvider
-
Deprecated.This method should never be called as it will simply throw an
UnsupportedOperationException
. - provideValues(TestParametersValuesProvider.Context) - Method in class com.google.testing.junit.testparameterinjector.TestParametersValuesProvider
- provideValues(TestParameterValuesProvider.Context) - Method in class com.google.testing.junit.testparameterinjector.TestParameterValuesProvider
- provideValues(Annotation, Optional<Class<?>>, GenericParameterContext) - Method in class com.google.testing.junit.testparameterinjector.TestParameter.InternalImplementationOfThisParameter
T
- testClass() - Method in class com.google.testing.junit.testparameterinjector.TestParametersValuesProvider.Context
-
The class that contains the test that is currently being run.
- testClass() - Method in class com.google.testing.junit.testparameterinjector.TestParameterValuesProvider.Context
-
The class that contains the test that is currently being run.
- TestParameter - Annotation Type in com.google.testing.junit.testparameterinjector
-
Test parameter annotation that defines the values that a single parameter can have.
- TestParameter.DefaultTestParameterValuesProvider - Class in com.google.testing.junit.testparameterinjector
-
Default
TestParameter.TestParameterValuesProvider
implementation that does nothing. - TestParameter.InternalImplementationOfThisParameter - Class in com.google.testing.junit.testparameterinjector
-
Implementation of this parameter annotation.
- TestParameter.TestParameterValuesProvider - Interface in com.google.testing.junit.testparameterinjector
-
Deprecated.Use
TestParameterValuesProvider
instead. The replacement implements this same interface, but with an additional Context parameter. - TestParameterInjector - Class in com.google.testing.junit.testparameterinjector
-
A JUnit4 test runner which knows how to instantiate and run test classes where each test case may be parameterized with its own unique set of test parameters.
- TestParameterInjector(Class<?>) - Constructor for class com.google.testing.junit.testparameterinjector.TestParameterInjector
- TestParameters - Annotation Type in com.google.testing.junit.testparameterinjector
-
Annotation that can be placed (repeatedly) on @Test-methods or a test constructor to indicate the sets of parameters that it should be invoked with.
- TestParameters.DefaultTestParametersValuesProvider - Class in com.google.testing.junit.testparameterinjector
-
Default
TestParameters.TestParametersValuesProvider
implementation that does nothing. - TestParameters.RepeatedTestParameters - Annotation Type in com.google.testing.junit.testparameterinjector
-
Holder annotation for multiple @TestParameters annotations.
- TestParameters.TestParametersValues - Class in com.google.testing.junit.testparameterinjector
-
A set of parameters for a single method invocation.
- TestParameters.TestParametersValues.Builder - Class in com.google.testing.junit.testparameterinjector
-
Builder for
TestParameters.TestParametersValues
. - TestParameters.TestParametersValuesProvider - Interface in com.google.testing.junit.testparameterinjector
-
Deprecated.Use
TestParametersValuesProvider
instead. The replacement implements this same interface, but with an additional Context parameter. - TestParametersValuesProvider - Class in com.google.testing.junit.testparameterinjector
-
Abstract class for custom providers of @TestParameters values.
- TestParametersValuesProvider() - Constructor for class com.google.testing.junit.testparameterinjector.TestParametersValuesProvider
- TestParametersValuesProvider.Context - Class in com.google.testing.junit.testparameterinjector
-
An immutable value class that contains extra information about the context of the parameter for which values are being provided.
- TestParameterValue - Class in com.google.testing.junit.testparameterinjector
-
Wrapper class around a parameter value.
- TestParameterValuesProvider - Class in com.google.testing.junit.testparameterinjector
-
Abstract class for custom providers of @TestParameter values.
- TestParameterValuesProvider() - Constructor for class com.google.testing.junit.testparameterinjector.TestParameterValuesProvider
- TestParameterValuesProvider.Context - Class in com.google.testing.junit.testparameterinjector
-
An immutable value class that contains extra information about the context of the parameter for which values are being provided.
- toString() - Method in class com.google.testing.junit.testparameterinjector.TestParametersValuesProvider.Context
- toString() - Method in class com.google.testing.junit.testparameterinjector.TestParameterValuesProvider.Context
V
- value() - Method in annotation type com.google.testing.junit.testparameterinjector.TestParameter
-
Array of stringified values for the annotated type.
- value() - Method in annotation type com.google.testing.junit.testparameterinjector.TestParameters.RepeatedTestParameters
- value() - Method in annotation type com.google.testing.junit.testparameterinjector.TestParameters
-
Specifies one or more stringified sets of parameters in YAML format.
- value(Object) - Method in interface com.google.testing.junit.testparameterinjector.TestParameter.TestParameterValuesProvider
-
Deprecated.Wraps the given value in an object that allows you to give the parameter value a different name.
- value(Object) - Method in class com.google.testing.junit.testparameterinjector.TestParameterValuesProvider
-
Wraps the given value in an object that allows you to give the parameter value a different name.
- valuesProvider() - Method in annotation type com.google.testing.junit.testparameterinjector.TestParameter
-
Sets a provider that will return a list of parameter values.
- valuesProvider() - Method in annotation type com.google.testing.junit.testparameterinjector.TestParameters
-
Sets a provider that will return a list of parameter sets.
W
- withName(String) - Method in class com.google.testing.junit.testparameterinjector.TestParameterValue
-
Returns a new
TestParameterValue
instance that stores the given name. - wrap(Object) - Static method in class com.google.testing.junit.testparameterinjector.TestParameterValue
-
Wraps the given value.
All Classes All Packages