|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=METHOD) @Retention(value=RUNTIME) @Documented public @interface Timed
Test-specific annotation to indicate that a test method has to finish
execution in a specified time period
.
If the text execution takes longer than the specified time period, then the test is to be considered failed.
Note that the time period includes execution of the test method itself, any
repetitions
of the test, and any set up or
tear down of the test fixture.
Repeat
,
AbstractAnnotationAwareTransactionalTests
Required Element Summary | |
---|---|
long |
millis
The maximum amount of time (in milliseconds) that a test execution can take without being marked as failed due to taking too long. |
Element Detail |
---|
public abstract long millis
|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |