|
|||||||||
| 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 ESFuzzyDataProvider<T>
A Data Provider for the JUnit Runner: ESFuzzyRunner.
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()
|
ESModelMutatorConfiguration |
getModelMutatorConfiguration()
Returns the ESModelMutatorConfiguration used by the data provider. |
List<ESFuzzyTest> |
getTestsToRun()
|
ESFuzzyUtil |
getUtil()
|
void |
init()
This method is called after the ESFuzzyDataProvider was created and
everything was set BEFORE the first run.Should be used to to create internal stuff depending on e.g. |
void |
setMutator(ESAbstractModelMutator modelMutator)
Sets the mutator to be used in order to generate and mutate data. |
void |
setOptions(Map<String,Object> options)
Sets the options for the ESFuzzyDataProvider. |
void |
setTestClass(org.junit.runners.model.TestClass testClass)
|
int |
size()
|
| Method Detail |
|---|
T get(int count)
count - The count of the testcase.
void init()
ESFuzzyDataProvider 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 ESFuzzyRunner.List<org.junit.runner.notification.RunListener> getListener()
null permitted.List<ESFuzzyTest> getTestsToRun()
ESFuzzyTests to specify, which tests the
ESFuzzyRunner should run.
null means
run all tests.ESFuzzyUtil getUtil()
ESFuzzyUtil for this ESFuzzyDataProvider. null permitted.void setOptions(Map<String,Object> options)
ESFuzzyDataProvider. May be null.
options - The options for the ESFuzzyDataProvider. Can be null.void setMutator(ESAbstractModelMutator modelMutator)
modelMutator - the ESAbstractModelMutator to be usedESModelMutatorConfiguration getModelMutatorConfiguration()
ESModelMutatorConfiguration used by the data provider.
ESModelMutatorConfiguration used by the data provider
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||