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 boolean
    The option allows to bypass the type annotation checks.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    verify(jakarta.enterprise.lang.model.declarations.ClassInfo clazz)
    To run the language model TCK, this method must be called with a ClassInfo object representing the LangModelVerifier class.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • 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
  • 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 a ClassInfo object representing the LangModelVerifier class. Assertions must be enabled. The language model implementation under test must only return runtime-retained annotations.