[JBoss JIRA] Created: (CDITCK-121) Bug in BeanManagerTest
by Gurkan Erdogdu (JIRA)
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)
Reporter: Gurkan Erdogdu
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
14 years, 4 months