Package org.jboss.cdi.lang.model.tck
Class LangModelVerifier
- java.lang.Object
-
- org.jboss.cdi.lang.model.tck.LangModelVerifier
-
public class LangModelVerifier extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static booleanRUN_TYPE_ANNOTATION_TESTSThe option allows to bypass the type annotation checks.
-
Constructor Summary
Constructors Constructor Description LangModelVerifier()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidverify(jakarta.enterprise.lang.model.declarations.ClassInfo clazz)To run the language model TCK, this method must be called with aClassInfoobject representing theLangModelVerifierclass.
-
-
-
Field Detail
-
RUN_TYPE_ANNOTATION_TESTS
public static boolean RUN_TYPE_ANNOTATION_TESTS
The 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
-
-
Method Detail
-
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.
-
-