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

David Allen (JIRA) jira-events at lists.jboss.org
Mon Apr 19 06:19:49 EDT 2010


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

David Allen resolved CDITCK-121.
--------------------------------

    Resolution: Done


This test has been moved to PassivationIdTest as an integration test in order to use extensions.  It now uses an approach required to work by the spec.

> Bug in BeanManagerTest
> ----------------------
>
>                 Key: CDITCK-121
>                 URL: https://jira.jboss.org/jira/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/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list