public class TestingUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
cast(Object thing,
Class<T> type) |
static <A extends Annotation> |
findEffectiveAnnotation(org.junit.jupiter.api.extension.ExtensionContext context,
Class<A> annotationType) |
static <A extends Annotation> |
findEffectiveRepeatingAnnotation(org.junit.jupiter.api.extension.ExtensionContext context,
Class<A> annotationType,
Class<? extends Annotation> groupAnnotationType) |
static <A extends Annotation> |
hasEffectiveAnnotation(org.junit.jupiter.api.extension.ExtensionContext context,
Class<A> annotationType) |
public static <A extends Annotation> Optional<A> findEffectiveAnnotation(org.junit.jupiter.api.extension.ExtensionContext context, Class<A> annotationType)
public static <A extends Annotation> List<A> findEffectiveRepeatingAnnotation(org.junit.jupiter.api.extension.ExtensionContext context, Class<A> annotationType, Class<? extends Annotation> groupAnnotationType)
public static <A extends Annotation> boolean hasEffectiveAnnotation(org.junit.jupiter.api.extension.ExtensionContext context, Class<A> annotationType)
Copyright © 2001-2022 Red Hat, Inc. All Rights Reserved.