[weld-issues] [JBoss JIRA] Closed: (CDITCK-121) Bug in BeanManagerTest

Pete Muir (JIRA) jira-events at lists.jboss.org
Tue Aug 3 11:11:51 EDT 2010


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

Pete Muir closed CDITCK-121.
----------------------------



> Bug in BeanManagerTest
> ----------------------
>
>                 Key: CDITCK-121
>                 URL: https://jira.jboss.org/browse/CDITCK-121
>             Project: CDI TCK
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Tests
>            Reporter: Gurkan Erdogdu
>            Assignee: David Allen
>             Fix For: 1.0.2.CR1
>
>
>    public void testGetPassivationCapableBeanById()
>    {
>       Bean<?> bean = getCurrentManager().getBeans(Cow.class).iterator().next();
>       assert PassivationCapable.class.isAssignableFrom(bean.getClass());
>     ......
> Bean SPI class does not extends PassivationCapable interface. Therefore, PassivationCapable.class.isAssignableFrom(bean.getClass()); must not be true. 
> OWB beans do not implement PassivationCapable interface as a default. Therefore this is specific to Weld.

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

        


More information about the weld-issues mailing list