Class SpringRepeat
java.lang.Object
org.junit.runners.model.Statement
org.springframework.test.context.junit4.statements.SpringRepeat
SpringRepeat is a custom JUnit Statement which adds support
 for Spring's @Repeat
 annotation by repeating the test the specified number of times.- Since:
- 3.0
- Author:
- Sam Brannen
- See Also:
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionSpringRepeat(Statement next, Method testMethod) Construct a newSpringRepeatstatement for the suppliedtestMethod, retrieving the configured repeat count from the@Repeatannotation on the supplied method.SpringRepeat(Statement next, Method testMethod, int repeat) Construct a newSpringRepeatstatement for the suppliedtestMethodandrepeatcount.
- 
Method Summary
- 
Field Details- 
logger
 
- 
- 
Constructor Details- 
SpringRepeatConstruct a newSpringRepeatstatement for the suppliedtestMethod, retrieving the configured repeat count from the@Repeatannotation on the supplied method.- Parameters:
- next- the next- Statementin the execution chain
- testMethod- the current test method
- See Also:
 
- 
SpringRepeatConstruct a newSpringRepeatstatement for the suppliedtestMethodandrepeatcount.- Parameters:
- next- the next- Statementin the execution chain
- testMethod- the current test method
- repeat- the configured repeat count for the current test method
 
 
- 
- 
Method Details