public class TestAnnotationUtils
extends java.lang.Object
| Constructor and Description |
|---|
TestAnnotationUtils() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getRepeatCount(java.lang.reflect.Method method)
Get the repeat count configured via the
@Repeat
annotation on the supplied method. |
static long |
getTimeout(java.lang.reflect.Method method)
|
public static long getTimeout(java.lang.reflect.Method method)
timeout configured via the @Timed
annotation on the supplied method.
Negative configured values will be converted to 0.
0 if the method is not
annotated with @Timedpublic static int getRepeatCount(java.lang.reflect.Method method)
@Repeat
annotation on the supplied method.
Non-negative configured values will be converted to 1.
1 if the method is
not annotated with @Repeat