|
GWT 2.0.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=METHOD) @Documented public @interface Setup
Specifies a setup method that will be executed before the annotated
Benchmark
test method. Setup methods are automatically executed by
the benchmarking framework before their matching test methods. Setup
measurements are excluded from final benchmark reports.
For example, you might annotate a Benchmark
method named
testInserts
with @Setup("setupTestInserts")
to ensure
setupTestInserts
is always executed before
testInserts
.
Required Element Summary | |
---|---|
java.lang.String |
value
The name of the method to execute before the annotated test method. |
Element Detail |
---|
public abstract java.lang.String value
|
GWT 2.0.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |