类的使用
cn.taketoday.test.context.TestContextAnnotationUtils.UntypedAnnotationDescriptor
程序包
说明
This package contains the TestContext Framework which
provides annotation-driven unit and integration testing support that is
agnostic of the actual testing framework in use.
-
cn.taketoday.test.context中TestContextAnnotationUtils.UntypedAnnotationDescriptor的使用
修饰符和类型方法说明TestContextAnnotationUtils.findAnnotationDescriptorForTypes(Class<?> clazz, Class<? extends Annotation>... annotationTypes) Find theTestContextAnnotationUtils.UntypedAnnotationDescriptorfor the firstClassin the inheritance hierarchy of the specifiedclazz(including the specifiedclazzitself) which declares at least one of the specifiedannotationTypes.private static TestContextAnnotationUtils.UntypedAnnotationDescriptorTestContextAnnotationUtils.findAnnotationDescriptorForTypes(Class<?> clazz, Class<? extends Annotation>[] annotationTypes, Set<Annotation> visited) Perform the search algorithm forTestContextAnnotationUtils.findAnnotationDescriptorForTypes(Class, Class...), avoiding endless recursion by tracking which annotations have already been visited.TestContextAnnotationUtils.UntypedAnnotationDescriptor.next()Find the nextTestContextAnnotationUtils.UntypedAnnotationDescriptorfor the specified annotation types in the hierarchy above the root declaring class of this descriptor.