org.springframework.test.context.junit4.statements.SpringRepeat Java Examples
The following examples show how to use
org.springframework.test.context.junit4.statements.SpringRepeat.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SpringJUnit4ClassRunner.java From spring-analysis-note with MIT License | 2 votes |
/** * Wrap the supplied {@link Statement} with a {@code SpringRepeat} statement. * <p>Supports Spring's {@link org.springframework.test.annotation.Repeat @Repeat} * annotation. * @see TestAnnotationUtils#getRepeatCount(Method) * @see SpringRepeat */ protected Statement withPotentialRepeat(FrameworkMethod frameworkMethod, Object testInstance, Statement next) { return new SpringRepeat(next, frameworkMethod.getMethod()); }
Example #2
Source File: SpringMethodRule.java From spring-analysis-note with MIT License | 2 votes |
/** * Wrap the supplied {@link Statement} with a {@code SpringRepeat} statement. * <p>Supports Spring's {@link org.springframework.test.annotation.Repeat @Repeat} * annotation. * @see SpringRepeat */ private Statement withPotentialRepeat(Statement next, Method testMethod, Object testInstance) { return new SpringRepeat(next, testMethod); }
Example #3
Source File: SpringJUnit4ClassRunner.java From java-technology-stack with MIT License | 2 votes |
/** * Wrap the supplied {@link Statement} with a {@code SpringRepeat} statement. * <p>Supports Spring's {@link org.springframework.test.annotation.Repeat @Repeat} * annotation. * @see TestAnnotationUtils#getRepeatCount(Method) * @see SpringRepeat */ protected Statement withPotentialRepeat(FrameworkMethod frameworkMethod, Object testInstance, Statement next) { return new SpringRepeat(next, frameworkMethod.getMethod()); }
Example #4
Source File: SpringMethodRule.java From java-technology-stack with MIT License | 2 votes |
/** * Wrap the supplied {@link Statement} with a {@code SpringRepeat} statement. * <p>Supports Spring's {@link org.springframework.test.annotation.Repeat @Repeat} * annotation. * @see SpringRepeat */ private Statement withPotentialRepeat(Statement next, Method testMethod, Object testInstance) { return new SpringRepeat(next, testMethod); }
Example #5
Source File: SpringJUnit4ClassRunner.java From spring4-understanding with Apache License 2.0 | 2 votes |
/** * Wrap the supplied {@link Statement} with a {@code SpringRepeat} statement. * <p>Supports Spring's {@link org.springframework.test.annotation.Repeat @Repeat} * annotation. * @see TestAnnotationUtils#getRepeatCount(Method) * @see SpringRepeat */ protected Statement withPotentialRepeat(FrameworkMethod frameworkMethod, Object testInstance, Statement next) { return new SpringRepeat(next, frameworkMethod.getMethod()); }
Example #6
Source File: SpringMethodRule.java From spring4-understanding with Apache License 2.0 | 2 votes |
/** * Wrap the supplied {@link Statement} with a {@code SpringRepeat} statement. * <p>Supports Spring's {@link org.springframework.test.annotation.Repeat @Repeat} * annotation. * @see SpringRepeat */ private Statement withPotentialRepeat(Statement next, FrameworkMethod frameworkMethod, Object testInstance) { return new SpringRepeat(next, frameworkMethod.getMethod()); }