[jbosstools-issues] [JBoss JIRA] (JBIDE-19023) CDI validation cannot find beans in src/test to be used for injection

Alexey Kazakov (JIRA) issues at jboss.org
Thu Jan 8 19:28:30 EST 2015


     [ https://issues.jboss.org/browse/JBIDE-19023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Kazakov updated JBIDE-19023:
-----------------------------------
              Project: Tools (JBoss Tools)  (was: Developer Studio (JBoss Developer Studio))
                  Key: JBIDE-19023  (was: JBDS-3307)
           Issue Type: Bug  (was: Feature Request)
             Workflow: GIT Pull Request workflow   (was: CDW v1)
               Status: Open  (was: New)
    Affects Version/s:     (was: 8.0.1.GA)
          Component/s: cdi
                           (was: cdi)
       Docs QE Status:   (was: NEW)
       Target Release:   (was: 8.1.0.GA)


> CDI validation cannot find beans in src/test to be used for injection
> ---------------------------------------------------------------------
>
>                 Key: JBIDE-19023
>                 URL: https://issues.jboss.org/browse/JBIDE-19023
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cdi
>            Reporter: Jason Porter
>            Assignee: Max Rydahl Andersen
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jbosstools-issues mailing list