|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
T - Type to specify the values created by this data provider.public interface FuzzyDataProvider<T>
A Data Provider for the JUnit Runner: FuzzyRunner.
An implementation of it must have a zero-parameter constructor.
| Method Summary | |
|---|---|
T |
get(int count)
Creates and returns the data for the next run. Note that it is strongly recommended to instantiate the data in this method for every call and not in the instantiation of the class, e.g. |
List<org.junit.runner.notification.RunListener> |
getListener()
|
List<Test> |
getTestsToRun()
|
Util |
getUtil()
|
void |
init()
This method is called after the FuzzyDataProvider was created and
everything was set BEFORE the first run.Should be used to to create internal stuff depending on e.g. |
void |
setOptions(Map<String,Object> options)
|
void |
setTestClass(org.junit.runners.model.TestClass testClass)
|
int |
size()
|
| Method Detail |
|---|
T get(int count)
count - The count of the testcase.
void init()
FuzzyDataProvider was created and
everything was set BEFORE the first run.TestClass.
int size()
void setTestClass(org.junit.runners.model.TestClass testClass)
testClass - The TestClass of the calling FuzzyRunner.List<org.junit.runner.notification.RunListener> getListener()
null permitted.List<Test> getTestsToRun()
Tests to specify, which tests the FuzzyRunner should run. null
means run all
tests.Util getUtil()
Util for this FuzzyDataProvider. null permitted.void setOptions(Map<String,Object> options)
options - The options for the FuzzyDataProvider. Can be null.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||