| java.lang.Object |
| ↳ |
Statement |
| |
↳ |
org.springframework.test.context.junit4.statements.SpringRepeat |
Class Overview
SpringRepeat is a custom JUnit 4.5+ Statement which adds
support for Spring's @Repeat annotation by repeating the
test for the specified number of times.
Summary
| Fields |
|
protected
static
final
Log |
logger |
|
| Public Constructors |
|
|
SpringRepeat(Statement next, Method testMethod, int repeat)
Constructs a new SpringRepeat statement.
|
| Public Methods |
|
void
|
evaluate()
Invokes the next Statement statement in the execution chain for
the specified repeat count.
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
Fields
protected
static
final
Log
logger
Public Constructors
public
SpringRepeat
(Statement next, Method testMethod, int repeat)
Constructs a new SpringRepeat statement.
Parameters
| next
| the next Statement in the execution chain |
| testMethod
| the current test method |
| repeat
| the configured repeat count for the current test method |
Public Methods
public
void
evaluate
()
Invokes the next Statement statement in the execution chain for
the specified repeat count.