Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-1456

ProgrammaticallyAddedProcessBeanAttributesTest should only test built-in beans explicitly listed in the specification

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Done
    • 2.0.2.Final
    • 2.0.4.Final, 2.1.0.Alpha1
    • None
    • None

    Description

      ProgrammaticallyAddedProcessBeanAttributesTest counts the number of ProcessBeanAttributes events and expects the count to be 0 in the end (That would suggest that no PBA was fired for built-in beans nor beans added via AfterBeanDiscovery.addBean()). However this is incorrect since an application server may bundle extensions that register (synthetic) annotated types. These are not built-in beans per definition and therefore they affect the counter in the test.

      Attachments

        Activity

          People

            marko.luksa@gmail.com Marko Luksa (Inactive)
            rhn-engineering-jharting Jozef Hartinger
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: