public class DataProviderFrameworkMethod
extends org.junit.runners.model.FrameworkMethod
| Constructor and Description |
|---|
DataProviderFrameworkMethod(java.lang.reflect.Method method,
int idx,
java.lang.Object[] parameters,
java.lang.String nameFormat)
Create a
FrameworkMethod extended with special attributes for using this test with a dataprovider. |
DataProviderFrameworkMethod(java.lang.reflect.Method method,
int idx,
java.lang.Object[] parameters,
java.lang.String nameFormat,
java.lang.Class<? extends com.tngtech.junit.dataprovider.format.DataProviderTestNameFormatter> nameFormatter)
Create a
FrameworkMethod extended with special attributes for using this test with a dataprovider. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName() |
int |
hashCode() |
java.lang.Object |
invokeExplosively(java.lang.Object target,
java.lang.Object... params) |
public DataProviderFrameworkMethod(java.lang.reflect.Method method,
int idx,
java.lang.Object[] parameters,
java.lang.String nameFormat)
FrameworkMethod extended with special attributes for using this test with a dataprovider.method - test method for which the FrameworkMethod is createdidx - the index (row) of the used dataproviderparameters - used for invoking this test methodnameFormat - defines the format of the test method name according to @DataProvider.format()public DataProviderFrameworkMethod(java.lang.reflect.Method method,
int idx,
java.lang.Object[] parameters,
java.lang.String nameFormat,
java.lang.Class<? extends com.tngtech.junit.dataprovider.format.DataProviderTestNameFormatter> nameFormatter)
FrameworkMethod extended with special attributes for using this test with a dataprovider.method - test method for which the FrameworkMethod is createdidx - the index (row) of the used dataproviderparameters - used for invoking this test methodnameFormat - defines the format of the test method name according to @DataProvider.format()nameFormatter - defines the test method name formatterpublic java.lang.String getName()
getName in class org.junit.runners.model.FrameworkMethodpublic java.lang.Object invokeExplosively(java.lang.Object target,
java.lang.Object... params)
throws java.lang.Throwable
invokeExplosively in class org.junit.runners.model.FrameworkMethodjava.lang.Throwablepublic int hashCode()
hashCode in class org.junit.runners.model.FrameworkMethodpublic boolean equals(java.lang.Object obj)
equals in class org.junit.runners.model.FrameworkMethod