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 java.lang.Object


Method Summary
 int countDataEntries()
           
static DataDrivenAnnotations forClass(org.junit.runners.model.TestClass testClass)
           
<T> java.util.List<T>
getDataAsInstancesOf(java.lang.Class<T> clazz)
           
 java.util.List<java.lang.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(org.junit.runners.model.TestClass testClass)

getParametersList

public java.util.List<java.lang.Object[]> getParametersList()
                                                     throws java.lang.Throwable
Throws:
java.lang.Throwable

getTestDataMethod

public org.junit.runners.model.FrameworkMethod getTestDataMethod()
                                                          throws java.lang.Exception
Throws:
java.lang.Exception

hasTestDataDefined

public boolean hasTestDataDefined()

hasTestDataSourceDefined

public boolean hasTestDataSourceDefined()

getDataAsInstancesOf

public <T> java.util.List<T> getDataAsInstancesOf(java.lang.Class<T> clazz)
                                       throws java.io.IOException
Throws:
java.io.IOException

countDataEntries

public int countDataEntries()
                     throws java.io.IOException
Throws:
java.io.IOException

hasTestSpecificTestDataDefined

public boolean hasTestSpecificTestDataDefined()


Copyright © 2011-2012 Wakaleo Consulting. All Rights Reserved.