[weld-issues] [JBoss JIRA] Closed: (CDITCK-194) NewSimpleBeanTest and QualifierDefinitionTest expects @New beans to be enabled that should not be

Pete Muir (JIRA) jira-events at lists.jboss.org
Fri Dec 10 13:21:52 EST 2010


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

Pete Muir closed CDITCK-194.
----------------------------

         Assignee: Pete Muir
    Fix Version/s: 1.1.0.CR1
       Resolution: Done


> NewSimpleBeanTest and QualifierDefinitionTest expects @New beans to be enabled that should not be
> -------------------------------------------------------------------------------------------------
>
>                 Key: CDITCK-194
>                 URL: https://issues.jboss.org/browse/CDITCK-194
>             Project: CDI TCK
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: Stuart Douglas
>            Assignee: Pete Muir
>             Fix For: 1.0.3.Final, 1.1.0.CR1
>
>
> According to the spec an @New bean:
> "is enabled, in the sense of Section 5.1.2, "Enabled and disabled beans", if and only if some other enabled bean has an
> injection point with the qualifier @New(X.class) where X is the bean class."
> However org.jboss.jsr299.tck.tests.implementation.simple.newSimpleBean.NewSimpleBeanTest expects these @New beans to be enabled that are not injected anywhere.
> The tests that are in error are:
>  testNewQualifierAndAnyBindingMutualExclusive(org.jboss.jsr299.tck.tests.definition.qualifier.QualifierDefinitionTest)
>  testForEachSimpleBeanANewBeanExists(org.jboss.jsr299.tck.tests.implementation.simple.newSimpleBean.NewSimpleBeanTest)
>  testNewBeanHasNoBeanELName(org.jboss.jsr299.tck.tests.implementation.simple.newSimpleBean.NewSimpleBeanTest)
>  testNewBeanHasNoDisposerMethods(org.jboss.jsr299.tck.tests.implementation.simple.newSimpleBean.NewSimpleBeanTest)
>  testNewBeanHasNoProducerFields(org.jboss.jsr299.tck.tests.implementation.simple.newSimpleBean.NewSimpleBeanTest)
>  testNewBeanHasNoProducerMethods(org.jboss.jsr299.tck.tests.implementation.simple.newSimpleBean.NewSimpleBeanTest)
>  testNewBeanHasNoStereotypes(org.jboss.jsr299.tck.tests.implementation.simple.newSimpleBean.NewSimpleBeanTest)
>  testNewBeanHasOnlyNewBinding(org.jboss.jsr299.tck.tests.implementation.simple.newSimpleBean.NewSimpleBeanTest)
>  testNewBeanHasSameConstructor(org.jboss.jsr299.tck.tests.implementation.simple.newSimpleBean.NewSimpleBeanTest)
>  testNewBeanHasSameInitializers(org.jboss.jsr299.tck.tests.implementation.simple.newSimpleBean.NewSimpleBeanTest)
>  testNewBeanHasSameInjectedFields(org.jboss.jsr299.tck.tests.implementation.simple.newSimpleBean.NewSimpleBeanTest)
>  testNewBeanIsDependentScoped(org.jboss.jsr299.tck.tests.implementation.simple.newSimpleBean.NewSimpleBeanTest)

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

        


More information about the weld-issues mailing list