-
Bug
-
Resolution: Done
-
Minor
-
1.1.0.Final
-
None
The org.jboss.weld.tests.beanDeployment.managed.single.BootstrapTest, and other related tests [listed below], fails against latest GlassFish 3.1. In this test, the Bean[Tuna] in the test is packaged in a bundled library under WEB-INF/lib. The Test Servlet uses a (non-spec) method called getBeans() that just returns the beans owned by the WAR's BeanManager and asserts if Tuna is found. An alternative method, getAccessibleBeans(), which should return all accessible beans, should be used. [Thanks to Pete for his analysis.]
> >> Failed tests:
> >> testBeanBelongingToParentActivityBelongsToChildActivity(org.jboss.weld.tests.activities.ActivitiesTest)
> >> testObserverBelongingToParentActivityBelongsToChildActivity(org.jboss.weld.tests.activities.ActivitiesTest)
> >> testObserverBelongingToParentFiresForChildActivity(org.jboss.weld.tests.activities.ActivitiesTest)
> >> testInjectedManagerIsCurrentActivity(org.jboss.weld.tests.activities.current.InjectedManagerCurrentActivityTest)
> >> testMultipleSimpleBean(org.jboss.weld.tests.beanDeployment.managed.multiple.BootstrapTest)
> >> testSingleSimpleBean(org.jboss.weld.tests.beanDeployment.managed.single.BootstrapTest)
> >> testMultipleEnterpriseAndSimpleBean(org.jboss.weld.tests.beanDeployment.mixed.BootstrapTest)
> >> testProducerMethodBean(org.jboss.weld.tests.beanDeployment.producers.singleProducerMethod.BootstrapTest)
> >> testMultipleEnterpriseBean(org.jboss.weld.tests.beanDeployment.session.multiple.BootstrapTest)
> >>
> >> Tests in error:
> >> testBeanBelongingToParentActivityCanBeInjectedIntoChildActivityBean(org.jboss.weld.tests.activities.ActivitiesTest)
> >> testInstanceProcessedByCurrentActivity(org.jboss.weld.tests.activities.current.InstanceCurrentActivityTest)