[weld-issues] [JBoss JIRA] Updated: (CDITCK-121) Bug in BeanManagerTest
Pete Muir (JIRA)
jira-events at lists.jboss.org
Wed Feb 24 05:49:10 EST 2010
[ https://jira.jboss.org/jira/browse/CDITCK-121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pete Muir updated CDITCK-121:
-----------------------------
Component/s: Tests
Fix Version/s: 1.0.2.CR1
Agreed, this test needs to get hold of the bean-to-test's id in another way.
> 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
> 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