net.thucydides.junit.runners
Class DataDrivenAnnotations

Package class diagram package DataDrivenAnnotations
java.lang.Object
  extended by net.thucydides.junit.runners.DataDrivenAnnotations

public class DataDrivenAnnotations
extends Object


Method Summary
 int countDataEntries()
           
static DataDrivenAnnotations forClass(Class testClass)
           
static DataDrivenAnnotations forClass(org.junit.runners.model.TestClass testClass)
           
<T> List<T>
getDataAsInstancesOf(Class<T> clazz)
           
 List<Object[]> getParametersList()
           
 org.junit.runners.model.FrameworkMethod getTestDataMethod()
           
 boolean hasTestDataDefined()
           
 boolean hasTestDataSourceDefined()
           
 boolean hasTestSpecificTestDataDefined()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.