public class DataDrivenAnnotations extends Object
| Modifier and Type | Method and Description |
|---|---|
int |
countDataEntries() |
protected String |
findTestDataSource() |
protected String |
findTestDataSourcePaths() |
static DataDrivenAnnotations |
forClass(Class testClass) |
static DataDrivenAnnotations |
forClass(org.junit.runners.model.TestClass testClass) |
<T> List<T> |
getDataAsInstancesOf(Class<T> clazz) |
DataTable |
getParametersTableFromTestDataAnnotation() |
DataTable |
getParametersTableFromTestDataSource() |
org.junit.runners.model.FrameworkMethod |
getTestDataMethod() |
boolean |
hasTestDataDefined() |
boolean |
hasTestDataSourceDefined() |
public static DataDrivenAnnotations forClass(Class testClass)
public static DataDrivenAnnotations forClass(org.junit.runners.model.TestClass testClass)
public DataTable getParametersTableFromTestDataSource() throws Throwable
Throwablepublic DataTable getParametersTableFromTestDataAnnotation()
public org.junit.runners.model.FrameworkMethod getTestDataMethod()
throws Exception
Exceptionprotected String findTestDataSource()
protected String findTestDataSourcePaths()
public boolean hasTestDataDefined()
public boolean hasTestDataSourceDefined()
public <T> List<T> getDataAsInstancesOf(Class<T> clazz) throws IOException
IOExceptionpublic int countDataEntries()
throws IOException
IOExceptionCopyright © 2011–2014 Wakaleo Consulting. All rights reserved.