[weld-issues] [JBoss JIRA] Created: (CDITCK-91) SimpleBeanLifecycleTest # testSpecializedBeanExtendsManagedBean Error

Gurkan Erdogdu (JIRA) jira-events at lists.jboss.org
Sun Jan 10 14:49:30 EST 2010


SimpleBeanLifecycleTest # testSpecializedBeanExtendsManagedBean Error
---------------------------------------------------------------------

                 Key: CDITCK-91
                 URL: https://jira.jboss.org/jira/browse/CDITCK-91
             Project: CDI TCK
          Issue Type: Bug
      Security Level: Public (Everyone can see)
            Reporter: Gurkan Erdogdu


Hi;

In test SimpleBeanLifecycleTest # testSpecializedBeanExtendsManagedBean, MountainLion specializes the Lion so the managed bean with Lion is never resolved.

So getBeans(Lion.class, TAME_LITERAL) returns bean with MountationLion not bean with Lion.

Therefore assert bean != null; in the test case seems not to be correct!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list