Uploaded image for project: 'CDI TCK'
  1. CDI TCK
  2. CDITCK-282

Extend test coverage for alternative metadata sources

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 1.2.0.Beta1
    • 1.1.0.Alpha3
    • Tests
    • None
    • Release Notes
    • 0
    • 0% 0%

      Test the following and similar scenarios:

      Scenario 1:

      1. Obtain an AnnotatedType instance of a class using BeanManager.createAnnotatedType()
      2. Modify the AnnotatedType - add interceptor bindings for various enabled interceptors
      3. Register the modified annotated type
      4. Verify that the resulting bean is intercepted while the original bean which shares the same Java class is not affected

      Scenario 2:

      Same as above except for step 3 in which an InjectionTarget is obtained for the modified annotated type using BeanManager.createInjectionTarget and the verification is executed on the instance returned from InjectionTarget.produce().

            mbriskar_jira Matej Briskar (Inactive)
            rhn-engineering-jharting Jozef Hartinger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: