net.thucydides.junit.runners
Class DataDrivenAnnotations
java.lang.Object
net.thucydides.junit.runners.DataDrivenAnnotations
public class DataDrivenAnnotations
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
forClass
public static DataDrivenAnnotations forClass(Class testClass)
forClass
public static DataDrivenAnnotations forClass(org.junit.runners.model.TestClass testClass)
getParametersList
public List<Object[]> getParametersList()
throws Throwable
- Throws:
Throwable
getTestDataMethod
public org.junit.runners.model.FrameworkMethod getTestDataMethod()
throws Exception
- Throws:
Exception
hasTestDataDefined
public boolean hasTestDataDefined()
hasTestDataSourceDefined
public boolean hasTestDataSourceDefined()
getDataAsInstancesOf
public <T> List<T> getDataAsInstancesOf(Class<T> clazz)
throws IOException
- Throws:
IOException
countDataEntries
public int countDataEntries()
throws IOException
- Throws:
IOException
hasTestSpecificTestDataDefined
public boolean hasTestSpecificTestDataDefined()
Copyright © 2011-2012 Wakaleo Consulting. All Rights Reserved.