| Constructor and Description |
|---|
ListGenerator(List<T> values) |
ListGenerator(List<T> values,
Callback<T> setUpCallback,
Callback<T> tearDownCallback) |
| Modifier and Type | Method and Description |
|---|---|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement test,
org.junit.runner.Description description) |
T |
value() |
public ListGenerator(List<T> values, Callback<T> setUpCallback, Callback<T> tearDownCallback)
values - Parameter valuessetUpCallback - Callback method that is called for each value iteration before test method is executed.tearDownCallback - Callback method that is called for each value iteration after test method was executed.public T value()
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement test,
org.junit.runner.Description description)
apply in interface org.junit.rules.TestRuleCopyright © 2014–2015 wcm.io. All rights reserved.