← Prev in month
← Prev in thread
Next in thread →
Next in month →
SPR_20003 does not test proper specification conformance statement
Hi, It appears SPR_20003 does not test the proper Spring C&I conformance statement. I'm assuming there is a direct mapping from test case module to conformance item in the spec, so SPR_20003 corresponds to SPR20003. The specification states: "The value of the @name attribute of an <sca:reference/> subelement of a <beans/> element MUST be unique amongst the @name attributes of the <reference/> subelements, <property/> subelements and the <bean/> subelements of the <beans/> element." The artifact test.composite in SPR_20003 states: "[SPR20003] Tests that the value of the @name attribute of an <sca:reference/> subelement of a <beans/> element is unique amongst the @name attributes of the <reference/> subelements, <property/> subelements and the <bean/> subelements of the <beans/> element. --> " However, the application context is: <beans ...> <sca:reference name="Service1" type="org.oasisopen.sca.test.Service" default="Ref1Bean"/> <bean id="Service1Bean" class="org.oasisopen.sca.test.ServiceImpl1"/> <bean id="Ref1Bean" class="org.oasisopen.sca.test.RefImpl1"/> </beans> I may be missing something (my Spring is *very* rusty), but I don't see how the above application context tests the assertion. Jim
← Prev in month
← Prev in thread
Next in thread →
Next in month →