public class DataDrivenAnnotations
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
int |
countDataEntries() |
static DataDrivenAnnotations |
forClass(java.lang.Class testClass) |
static DataDrivenAnnotations |
forClass(org.junit.runners.model.TestClass testClass) |
<T> java.util.List<T> |
getDataAsInstancesOf(java.lang.Class<T> clazz) |
net.thucydides.core.model.DataTable |
getParametersTableFromTestDataAnnotation() |
net.thucydides.core.model.DataTable |
getParametersTableFromTestDataSource() |
org.junit.runners.model.FrameworkMethod |
getTestDataMethod() |
org.junit.runners.model.FrameworkMethod |
getTestMethod() |
boolean |
hasTestDataDefined() |
boolean |
hasTestDataSourceDefined() |
public static DataDrivenAnnotations forClass(java.lang.Class testClass)
public static DataDrivenAnnotations forClass(org.junit.runners.model.TestClass testClass)
public net.thucydides.core.model.DataTable getParametersTableFromTestDataSource()
throws java.lang.Throwable
java.lang.Throwablepublic org.junit.runners.model.FrameworkMethod getTestMethod()
public net.thucydides.core.model.DataTable getParametersTableFromTestDataAnnotation()
public org.junit.runners.model.FrameworkMethod getTestDataMethod()
throws java.lang.Exception
java.lang.Exceptionpublic boolean hasTestDataDefined()
public boolean hasTestDataSourceDefined()
public <T> java.util.List<T> getDataAsInstancesOf(java.lang.Class<T> clazz)
throws java.io.IOException
java.io.IOExceptionpublic int countDataEntries()
throws java.io.IOException
java.io.IOException