Uploaded image for project: 'CDI TCK'
  1. CDI TCK
  2. CDITCK-194

NewSimpleBeanTest and QualifierDefinitionTest expects @New beans to be enabled that should not be

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.2.Final, 1.1.0.Alpha1
    • None
    • None
    • None

      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)

              pmuiratbleepbleep Pete Muir (Inactive)
              sdouglas1@redhat.com Stuart Douglas (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: