Package | Description |
---|---|
org.springframework.test.context |
This package contains the Spring TestContext Framework which
provides annotation-driven unit and integration testing support that is
agnostic of the actual testing framework in use.
|
Modifier and Type | Class and Description |
---|---|
static class |
TestContextAnnotationUtils.UntypedAnnotationDescriptor
Untyped extension of
TestContextAnnotationUtils.AnnotationDescriptor that is used
to describe the declaration of one of several candidate annotation types
where the actual annotation type cannot be predetermined. |
Modifier and Type | Method and Description |
---|---|
static <T extends Annotation> |
TestContextAnnotationUtils.findAnnotationDescriptor(Class<?> clazz,
Class<T> annotationType)
Find the
TestContextAnnotationUtils.AnnotationDescriptor for the supplied annotationType
on the supplied Class , traversing its annotations, interfaces,
superclasses, and enclosing classes if no annotation can be found on the
given class itself. |
TestContextAnnotationUtils.AnnotationDescriptor<T> |
TestContextAnnotationUtils.AnnotationDescriptor.next()
Find the next
TestContextAnnotationUtils.AnnotationDescriptor for the specified annotation
type in the hierarchy above the root declaring class of this descriptor. |