Package org.jboss.cdi.lang.model.tck
Class LangModelVerifier
java.lang.Object
org.jboss.cdi.lang.model.tck.LangModelVerifier
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic booleanThe option allows to bypass the type annotation checks. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidverify(jakarta.enterprise.lang.model.declarations.ClassInfo clazz) To run the language model TCK, this method must be called with aClassInfoobject representing theLangModelVerifierclass.
-
Field Details
-
RUN_TYPE_ANNOTATION_TESTS
public static boolean RUN_TYPE_ANNOTATION_TESTSThe option allows to bypass the type annotation checks. There is a bug in the annotation processor not providing type annotations for classes loaded from the classpath. https://bugs.openjdk.java.net/browse/JDK-8225377
-
-
Constructor Details
-
LangModelVerifier
public LangModelVerifier()
-
-
Method Details
-
verify
public static void verify(jakarta.enterprise.lang.model.declarations.ClassInfo clazz) To run the language model TCK, this method must be called with aClassInfoobject representing theLangModelVerifierclass. Assertions must be enabled. The language model implementation under test must only return runtime-retained annotations.
-