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

Error in TCK test # StereotypeInheritenceTest

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.1.CR1
    • None
    • None
    • None

      Hi;

      org.jboss.jsr299.tck.tests.definition.stereotype.inheritance.StereotypeInheritenceTest.testInheritence() related "beans.xml" file "/org/jboss/jsr299/tck/tests/definition/stereotype/inheritance/beans.xml" is defined as follows:

      <beans>
      <alternatives>
      <class>org.jboss.jsr299.tck.tests.definition.stereotype.inheritance.NamedRequestPolicyStereotype</class>
      </alternatives>
      </beans>

      But given NamedRequestPolicyStereotype class is a @Stereotype so it must be defined as follows

      <beans>
      <alternatives>
      <stereotype>org.jboss.jsr299.tck.tests.definition.stereotype.inheritance.NamedRequestPolicyStereotype</stereotype>
      </alternatives>
      </beans>

      Therefore given test is failed becuase Horse class is not enabled.

              drallendc@gmail.com David Allen (Inactive)
              gerdogdu@managecat.com Gurkan Erdogdu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: