Index

A B C D F G M N P S T V W 
All Classes and Interfaces|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 their 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

collectInitializationErrors(List<Throwable>) - Method in class com.google.testing.junit.testparameterinjector.TestParameterInjector
 
com.google.testing.junit.testparameterinjector - package com.google.testing.junit.testparameterinjector
 
computeTestMethods() - Method in class com.google.testing.junit.testparameterinjector.TestParameterInjector
 
createTest() - Method in class com.google.testing.junit.testparameterinjector.TestParameterInjector
 
customName() - Element in annotation interface 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
 

F

finalizeCreatedTestInstance(Object) - Method in class com.google.testing.junit.testparameterinjector.TestParameterInjector
This method is run to perform optional additional operations on the test instance, right after it was created.

G

getExtraTestRules() - Method in class com.google.testing.junit.testparameterinjector.TestParameterInjector
TestRules that will be executed before the ones defined in the test class.
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.
getSupportedTestAnnotations() - Method in class com.google.testing.junit.testparameterinjector.TestParameterInjector
Returns classes used as annotations to indicate test methods.

M

methodBlock(FrameworkMethod) - Method in class com.google.testing.junit.testparameterinjector.TestParameterInjector
 
methodInvoker(FrameworkMethod, Object) - Method in class com.google.testing.junit.testparameterinjector.TestParameterInjector
 

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
 

S

sortTestMethods(ImmutableList<FrameworkMethod>) - Method in class com.google.testing.junit.testparameterinjector.TestParameterInjector
Sort test methods (across different TestMethodProcessors).

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 Interface 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.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 Interface 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 Interface 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
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.TestParameterValue
 
toString() - Method in class com.google.testing.junit.testparameterinjector.TestParameterValuesProvider.Context
 

V

validatePublicVoidNoArgMethods(Class<? extends Annotation>, boolean, List<Throwable>) - Method in class com.google.testing.junit.testparameterinjector.TestParameterInjector
 
validateTestMethods(List<Throwable>) - Method in class com.google.testing.junit.testparameterinjector.TestParameterInjector
 
validateZeroArgConstructor(List<Throwable>) - Method in class com.google.testing.junit.testparameterinjector.TestParameterInjector
 
value() - Element in annotation interface com.google.testing.junit.testparameterinjector.TestParameter
Array of stringified values for the annotated type.
value() - Element in annotation interface com.google.testing.junit.testparameterinjector.TestParameters.RepeatedTestParameters
 
value() - Element in annotation interface 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() - Element in annotation interface com.google.testing.junit.testparameterinjector.TestParameter
Sets a provider that will return a list of parameter values.
valuesProvider() - Element in annotation interface 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.
A B C D F G M N P S T V W 
All Classes and Interfaces|All Packages