$ A B C D E F G H I M P R S T U V 

$

$(Object...) - Static method in class com.tngtech.java.junit.dataprovider.DataProviders
Helper method to create an Object array containing all the given arguments, e.g.
$$(Object[]...) - Static method in class com.tngtech.java.junit.dataprovider.DataProviders
Helper method to create an array of the given Object arrays, e.g.

A

all() - Static method in class com.tngtech.java.junit.dataprovider.Placeholders
Retrieve all BasePlaceholder to handle DataProvider.format().

B

BasePlaceholder - Class in com.tngtech.java.junit.dataprovider.internal.placeholder
Base class for all placeholder which are used to format the test method name.
BasePlaceholder(String) - Constructor for class com.tngtech.java.junit.dataprovider.internal.placeholder.BasePlaceholder
 

C

canConvert(Type) - Method in class com.tngtech.java.junit.dataprovider.internal.DataConverter
Returns true iif this DataConverter can convert the given type.
CanonicalClassNamePlaceholder - Class in com.tngtech.java.junit.dataprovider.internal.placeholder
 
CanonicalClassNamePlaceholder() - Constructor for class com.tngtech.java.junit.dataprovider.internal.placeholder.CanonicalClassNamePlaceholder
 
checkIfArgumentsMatchParameterTypes(List<Object[]>, Class<?>[]) - Method in class com.tngtech.java.junit.dataprovider.internal.DataConverter
Checks if the types of the given list of arguments matches the given test methods parameterTypes and throws an Error if not.
childrenInvoker(RunNotifier) - Method in class com.tngtech.java.junit.dataprovider.DataProviderRunner
Just overridden to make DataProviderRunner.classBlock(RunNotifier) testable.
classBlock(RunNotifier) - Method in class com.tngtech.java.junit.dataprovider.DataProviderRunner
Overridden due to @BeforeClass methods are already processed, see DataProviderRunner.computeTestMethods() and DataProviderRunner.invokeBeforeClass().
collectInitializationErrors(List<Throwable>) - Method in class com.tngtech.java.junit.dataprovider.DataProviderRunner
 
com.tngtech.java.junit.dataprovider - package com.tngtech.java.junit.dataprovider
 
com.tngtech.java.junit.dataprovider.internal - package com.tngtech.java.junit.dataprovider.internal
 
com.tngtech.java.junit.dataprovider.internal.placeholder - package com.tngtech.java.junit.dataprovider.internal.placeholder
 
CompleteMethodSignaturePlaceholder - Class in com.tngtech.java.junit.dataprovider.internal.placeholder
 
CompleteMethodSignaturePlaceholder() - Constructor for class com.tngtech.java.junit.dataprovider.internal.placeholder.CompleteMethodSignaturePlaceholder
 
computeTestMethods() - Method in class com.tngtech.java.junit.dataprovider.DataProviderRunner
Generates the exploded list of methods that run tests.
convert(Object, Class<?>[], DataProvider) - Method in class com.tngtech.java.junit.dataprovider.internal.DataConverter
Converts the given Object to a List of Object[] with Classes correspond to given parameterTypes.

D

DataConverter - Class in com.tngtech.java.junit.dataprovider.internal
Internal class to convert some data to its corresponding parameters.
DataConverter() - Constructor for class com.tngtech.java.junit.dataprovider.internal.DataConverter
 
DataProvider - Annotation Type in com.tngtech.java.junit.dataprovider
Mark a method as a dataprovider used by a test method or use it directly at the test method and provide data via DataProvider.value() attribute.
DataProviderFilter - Class in com.tngtech.java.junit.dataprovider
This custom Filter filters test methods or even single dataprovider rows of a test class which is run by DataProviderRunner.
DataProviderFilter(Filter) - Constructor for class com.tngtech.java.junit.dataprovider.DataProviderFilter
Creates a new DataProviderFilter using the textual Filter.describe() of supplied Filter to determine if a test method should run or not.
DataProviderFrameworkMethod - Class in com.tngtech.java.junit.dataprovider
A special framework method that allows the usage of parameters for the test method.
DataProviderFrameworkMethod(Method, int, Object[], String) - Constructor for class com.tngtech.java.junit.dataprovider.DataProviderFrameworkMethod
Create a FrameworkMethod extended with special attributes for using this test with a dataprovider.
DataProviderRunner - Class in com.tngtech.java.junit.dataprovider
A custom runner for JUnit that allows the usage of TestNG-like dataproviders.
DataProviderRunner(Class<?>) - Constructor for class com.tngtech.java.junit.dataprovider.DataProviderRunner
Creates a DataProviderRunner to run supplied clazz.
DataProviders - Class in com.tngtech.java.junit.dataprovider
 
DataProviders() - Constructor for class com.tngtech.java.junit.dataprovider.DataProviders
 
describe() - Method in class com.tngtech.java.junit.dataprovider.DataProviderFilter
 

E

equals(Object) - Method in class com.tngtech.java.junit.dataprovider.DataProviderFrameworkMethod
 

F

filter(Filter) - Method in class com.tngtech.java.junit.dataprovider.DataProviderRunner
If possible the given filter is wrapped by DataProviderFilter to enable filtering of tests using a dataprovider.
format(Object) - Method in class com.tngtech.java.junit.dataprovider.internal.placeholder.ParameterPlaceholder
 
formatAll(Object[]) - Method in class com.tngtech.java.junit.dataprovider.internal.placeholder.ParameterPlaceholder
Formats the given parameters by retrieving it's String representation and separate it by comma (= ,).

G

generateExplodedTestMethodsFor(FrameworkMethod, FrameworkMethod) - Method in class com.tngtech.java.junit.dataprovider.internal.TestGenerator
Generates the exploded list of test methods for the given testMethod.
getName() - Method in class com.tngtech.java.junit.dataprovider.DataProviderFrameworkMethod
 
getReplacementFor(String) - Method in class com.tngtech.java.junit.dataprovider.internal.placeholder.BasePlaceholder
Generate and returns the replacement for the found and given placeholder.
getReplacementFor(String) - Method in class com.tngtech.java.junit.dataprovider.internal.placeholder.CanonicalClassNamePlaceholder
 
getReplacementFor(String) - Method in class com.tngtech.java.junit.dataprovider.internal.placeholder.CompleteMethodSignaturePlaceholder
 
getReplacementFor(String) - Method in class com.tngtech.java.junit.dataprovider.internal.placeholder.IndexPlaceholder
 
getReplacementFor(String) - Method in class com.tngtech.java.junit.dataprovider.internal.placeholder.ParameterPlaceholder
 
getReplacementFor(String) - Method in class com.tngtech.java.junit.dataprovider.internal.placeholder.SimpleClassNamePlaceholder
 
getReplacementFor(String) - Method in class com.tngtech.java.junit.dataprovider.internal.placeholder.SimpleMethodNamePlaceholder
 

H

hashCode() - Method in class com.tngtech.java.junit.dataprovider.DataProviderFrameworkMethod
 

I

idx - Variable in class com.tngtech.java.junit.dataprovider.internal.placeholder.BasePlaceholder
 
IndexPlaceholder - Class in com.tngtech.java.junit.dataprovider.internal.placeholder
 
IndexPlaceholder() - Constructor for class com.tngtech.java.junit.dataprovider.internal.placeholder.IndexPlaceholder
 
invokeExplosively(Object, Object...) - Method in class com.tngtech.java.junit.dataprovider.DataProviderFrameworkMethod
 

M

method - Variable in class com.tngtech.java.junit.dataprovider.internal.placeholder.BasePlaceholder
 

P

ParameterPlaceholder - Class in com.tngtech.java.junit.dataprovider.internal.placeholder
This placeholder format the parameters of a dataprovider test as comma-separated String according to the given index or range subscript (see DataProvider.format().
ParameterPlaceholder() - Constructor for class com.tngtech.java.junit.dataprovider.internal.placeholder.ParameterPlaceholder
 
parameters - Variable in class com.tngtech.java.junit.dataprovider.internal.placeholder.BasePlaceholder
 
Placeholders - Class in com.tngtech.java.junit.dataprovider
Use this class to manipulate the generation/formatting of test method names.
Placeholders() - Constructor for class com.tngtech.java.junit.dataprovider.Placeholders
 
process(String) - Method in class com.tngtech.java.junit.dataprovider.internal.placeholder.BasePlaceholder
Executes this placeholder for the given String by searching all occurrences of the regular expression supplied in the constructor and replaces them with the retrieved replacement from BasePlaceholder.getReplacementFor(String).

R

reset() - Static method in class com.tngtech.java.junit.dataprovider.Placeholders
Resets all changes to the list of all BasePlaceholder such that is contains the default placeholders again.

S

setContext(Method, int, Object[]) - Method in class com.tngtech.java.junit.dataprovider.internal.placeholder.BasePlaceholder
Sets the given arguments as context for processing or replacement generation, respectively.
shouldRun(Description) - Method in class com.tngtech.java.junit.dataprovider.DataProviderFilter
 
SimpleClassNamePlaceholder - Class in com.tngtech.java.junit.dataprovider.internal.placeholder
 
SimpleClassNamePlaceholder() - Constructor for class com.tngtech.java.junit.dataprovider.internal.placeholder.SimpleClassNamePlaceholder
 
SimpleMethodNamePlaceholder - Class in com.tngtech.java.junit.dataprovider.internal.placeholder
 
SimpleMethodNamePlaceholder() - Constructor for class com.tngtech.java.junit.dataprovider.internal.placeholder.SimpleMethodNamePlaceholder
 

T

testForEach(Object...) - Static method in class com.tngtech.java.junit.dataprovider.DataProviders
Creates a dataprovider test for each argument.
testForEach(Iterable<T>) - Static method in class com.tngtech.java.junit.dataprovider.DataProviders
Creates a dataprovider test for each element in the given Iterable.
testForEach(Class<E>) - Static method in class com.tngtech.java.junit.dataprovider.DataProviders
Creates a dataprovider test for each value in the given Enum class.
TestGenerator - Class in com.tngtech.java.junit.dataprovider.internal
 
TestGenerator(DataConverter) - Constructor for class com.tngtech.java.junit.dataprovider.internal.TestGenerator
 
TestValidator - Class in com.tngtech.java.junit.dataprovider.internal
 
TestValidator(DataConverter) - Constructor for class com.tngtech.java.junit.dataprovider.internal.TestValidator
 

U

UseDataProvider - Annotation Type in com.tngtech.java.junit.dataprovider
Annotate a test method for using it with a dataprovider.

V

validateDataProviderMethod(FrameworkMethod, DataProvider, List<Throwable>) - Method in class com.tngtech.java.junit.dataprovider.internal.TestValidator
Checks if the given dataProviderMethod is a valid dataprovider and adds a Exception to errors if it is not public, is not static, takes parameters, or does return a convertible type, see DataConverter.canConvert(java.lang.reflect.Type) This method is package private (= visible) for testing.
validateTestMethod(FrameworkMethod, List<Throwable>) - Method in class com.tngtech.java.junit.dataprovider.internal.TestValidator
Checks if the given testMethod is a valid test method depending on the dataprovider relevant annotation @DataProvider and @UseDataProvider.
validateTestMethods(List<Throwable>) - Method in class com.tngtech.java.junit.dataprovider.DataProviderRunner
Additionally validates dataproviders.
$ A B C D E F G H I M P R S T U V