public class ContiPerfUtil extends Object
| Constructor and Description |
|---|
ContiPerfUtil() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Annotation> |
annotationOfClass(Class<?> type,
Class<T> annotationClass) |
static <T extends Annotation> |
annotationOfMethodOrClass(org.junit.runners.model.FrameworkMethod method,
Class<T> annotationClass) |
static void |
close(Closeable resource) |
static PerfTestException |
executionError(Throwable e) |
static ExecutionConfig |
mapPerfTestAnnotation(PerfTest annotation) |
static PerformanceRequirement |
mapRequired(Required annotation) |
static PercentileRequirement[] |
parsePercentiles(String percentilesSpec) |
public static void close(Closeable resource)
public static PerfTestException executionError(Throwable e)
public static ExecutionConfig mapPerfTestAnnotation(PerfTest annotation)
public static PerformanceRequirement mapRequired(Required annotation)
public static PercentileRequirement[] parsePercentiles(String percentilesSpec)
public static <T extends Annotation> T annotationOfMethodOrClass(org.junit.runners.model.FrameworkMethod method, Class<T> annotationClass)
public static <T extends Annotation> T annotationOfClass(Class<?> type, Class<T> annotationClass)
Copyright © 2019. All rights reserved.