Incorrect assumption around BeanManager visibility of Beans in 
org.jboss.weld.tests.beanDeployment.managed.single.BootstrapTest 
--------------------------------------------------------------------------------------------------------------------------------

                 Key: WELD-841
                 URL: https://issues.jboss.org/browse/WELD-841
             Project: Weld
          Issue Type: Bug
          Components: Testing Infrastructure (Mocks and Harness Integration)
    Affects Versions: 1.1.0.Final
            Reporter: Sivakumar Thyagarajan
            Priority: Minor


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)



-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
weld-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-issues

Reply via email to