/** * Construct a new {@code SpringRepeat} statement for the supplied * {@code testMethod}, retrieving the configured repeat count from the * {@code @Repeat} annotation on the supplied method. * @param next the next {@code Statement} in the execution chain * @param testMethod the current test method * @see TestAnnotationUtils#getRepeatCount(Method) */ public SpringRepeat(Statement next, Method testMethod) { this(next, testMethod, TestAnnotationUtils.getRepeatCount(testMethod)); }
/** * Construct a new {@code SpringRepeat} statement for the supplied * {@code testMethod}, retrieving the configured repeat count from the * {@code @Repeat} annotation on the supplied method. * @param next the next {@code Statement} in the execution chain * @param testMethod the current test method * @see TestAnnotationUtils#getRepeatCount(Method) */ public SpringRepeat(Statement next, Method testMethod) { this(next, testMethod, TestAnnotationUtils.getRepeatCount(testMethod)); }
/** * Construct a new {@code SpringRepeat} statement for the supplied * {@code testMethod}, retrieving the configured repeat count from the * {@code @Repeat} annotation on the supplied method. * @param next the next {@code Statement} in the execution chain * @param testMethod the current test method * @see TestAnnotationUtils#getRepeatCount(Method) */ public SpringRepeat(Statement next, Method testMethod) { this(next, testMethod, TestAnnotationUtils.getRepeatCount(testMethod)); }