|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Documented @Target(value={METHOD,TYPE}) @Retention(value=RUNTIME) public @interface Required
Specifies performance requirements for a test.
Created: 15.10.2009 14:42:57
Optional Element Summary | |
---|---|
int |
average
Requires the average test execution time to be of the specified value or less. |
int |
max
Requires each test execution time of the specified value or less. |
int |
median
Requires the execution time of 50% of the test executions of the specified value or less. |
int |
percentile90
Requires the execution time of 90% of the test executions of the specified value or less. |
int |
percentile95
Requires the execution time of 95% of the test executions of the specified value or less. |
int |
percentile99
Requires the execution time of 99% of the test executions of the specified value or less. |
String |
percentiles
Defines a custom set of percentile requirements as a comma-separated list of percentile:millisecond pairs, for example 80:300,96:2000 to require 80% of the invocations to take 300 ms or less and 96% to take 2000 ms or less. |
int |
throughput
Requires the average number of test executions per second to be the specified value or higher. |
int |
totalTime
Requires the total elapsed time from the beginning of the first test execution to the end of the last one. |
public abstract int throughput
public abstract int average
public abstract int median
public abstract int max
public abstract int totalTime
public abstract int percentile90
public abstract int percentile95
public abstract int percentile99
public abstract String percentiles
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |