spring-framework / org.springframework.test.context.junit4.statements / SpringRepeat / <init>

<init>

SpringRepeat(next: Statement, testMethod: Method)

Construct a new SpringRepeat statement for the supplied testMethod, retrieving the configured repeat count from the @Repeat annotation on the supplied method.

Parameters

next - the next Statement in the execution chain

testMethod - the current test method

See Also
TestAnnotationUtils#getRepeatCount(Method)

SpringRepeat(next: Statement, testMethod: Method, repeat: Int)

Construct a new SpringRepeat statement for the supplied testMethod and repeat count.

Parameters

next - the next Statement in the execution chain

testMethod - the current test method

repeat - the configured repeat count for the current test method