[weld-dev] Error in TCK test # StereotypeInheritenceTest

Gurkan Erdogdu gurkanerdogdu at yahoo.com
Sat Jan 9 09:16:16 EST 2010


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.

If this observation is correct, I will create a JIRA !

Thanks;

--Gurkan


      ___________________________________________________________________
Yahoo! Türkiye açıldı!  http://yahoo.com.tr
İnternet üzerindeki en iyi içeriği Yahoo! Türkiye sizlere sunuyor!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/weld-dev/attachments/20100109/56e6950d/attachment.html 


More information about the weld-dev mailing list