Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-19023

CDI validation cannot find beans in src/test to be used for injection

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 4.3.x
    • None
    • cdi
    • None

    Description

      While trying to fix BZ1178874 I discovered that classes in src/test are not picked up as being valid beans to satisfy injection points. In the example in the Bugzilla issue (https://github.com/jboss-developer/jboss-eap-quickstarts/commit/7aa69072ef012f78cf5c1a43c1848b39d81d1472) it's a public static class being used, but even if that class is split off into its own public class it still isn't found as a valid bean.

      Attachments

        Issue Links

          Activity

            People

              jmaury@redhat.com Jeff MAURY
              jporter@redhat.com Jason Porter
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: