Skip to content

Commit cf529fd

Browse files
committed
Ignore some documentation-related annotations in Hibernate ORM extension tests
1 parent fcf042c commit cf529fd

File tree

1 file changed

+2
-0
lines changed
  • extensions/hibernate-orm/deployment/src/test/java/io/quarkus/hibernate/orm/deployment

1 file changed

+2
-0
lines changed

extensions/hibernate-orm/deployment/src/test/java/io/quarkus/hibernate/orm/deployment/ClassNamesTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ public void testNoMissingHibernateAnnotation() {
107107
}
108108

109109
private static void ignoreInternalAnnotations(Set<DotName> annotationSet) {
110+
annotationSet.removeIf(name -> name.toString().equals("org.hibernate.cfg.Compatibility"));
111+
annotationSet.removeIf(name -> name.toString().equals("org.hibernate.cfg.Unsafe"));
110112
annotationSet.removeIf(name -> name.toString().equals("org.hibernate.Incubating"));
111113
annotationSet.removeIf(name -> name.toString().equals("org.hibernate.Internal"));
112114
annotationSet.removeIf(name -> name.toString().equals("org.hibernate.Remove"));

0 commit comments

Comments
 (0)