Skip to content

Commit c52bfc0

Browse files
committed
Update test names to reflect status quo
AnnotationMetadataReadingVisitor was replaced by SimpleAnnotationMetadata in Spring Framework 5.2.
1 parent a33b143 commit c52bfc0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spring-core/src/test/java/org/springframework/core/type/AnnotationMetadataTests.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ void metaAnnotationOverridesUsingStandardAnnotationMetadata() {
204204
}
205205

206206
@Test
207-
void metaAnnotationOverridesUsingAnnotationMetadataReadingVisitor() throws Exception {
207+
void metaAnnotationOverridesUsingSimpleAnnotationMetadata() throws Exception {
208208
MetadataReaderFactory metadataReaderFactory = new SimpleMetadataReaderFactory();
209209
MetadataReader metadataReader = metadataReaderFactory.getMetadataReader(ComposedConfigurationWithAttributeOverridesClass.class.getName());
210210
AnnotationMetadata metadata = metadataReader.getAnnotationMetadata();
@@ -226,7 +226,7 @@ void multipleAnnotationsWithIdenticalAttributeNamesUsingStandardAnnotationMetada
226226
}
227227

228228
@Test // SPR-11649
229-
void multipleAnnotationsWithIdenticalAttributeNamesUsingAnnotationMetadataReadingVisitor() throws Exception {
229+
void multipleAnnotationsWithIdenticalAttributeNamesUsingSimpleAnnotationMetadata() throws Exception {
230230
MetadataReaderFactory metadataReaderFactory = new SimpleMetadataReaderFactory();
231231
MetadataReader metadataReader = metadataReaderFactory.getMetadataReader(NamedAnnotationsClass.class.getName());
232232
AnnotationMetadata metadata = metadataReader.getAnnotationMetadata();
@@ -240,7 +240,7 @@ void composedAnnotationWithMetaAnnotationsWithIdenticalAttributeNamesUsingStanda
240240
}
241241

242242
@Test // SPR-11649
243-
void composedAnnotationWithMetaAnnotationsWithIdenticalAttributeNamesUsingAnnotationMetadataReadingVisitor() throws Exception {
243+
void composedAnnotationWithMetaAnnotationsWithIdenticalAttributeNamesUsingSimpleAnnotationMetadata() throws Exception {
244244
MetadataReaderFactory metadataReaderFactory = new SimpleMetadataReaderFactory();
245245
MetadataReader metadataReader = metadataReaderFactory.getMetadataReader(NamedComposedAnnotationClass.class.getName());
246246
AnnotationMetadata metadata = metadataReader.getAnnotationMetadata();
@@ -254,7 +254,7 @@ void inheritedAnnotationWithMetaAnnotationsWithIdenticalAttributeNamesUsingStand
254254
}
255255

256256
@Test
257-
void inheritedAnnotationWithMetaAnnotationsWithIdenticalAttributeNamesUsingAnnotationMetadataReadingVisitor() throws Exception {
257+
void inheritedAnnotationWithMetaAnnotationsWithIdenticalAttributeNamesUsingSimpleAnnotationMetadata() throws Exception {
258258
MetadataReaderFactory metadataReaderFactory = new SimpleMetadataReaderFactory();
259259
MetadataReader metadataReader = metadataReaderFactory.getMetadataReader(NamedComposedAnnotationExtended.class.getName());
260260
AnnotationMetadata metadata = metadataReader.getAnnotationMetadata();

0 commit comments

Comments
 (0)