sca-j message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: SPR_20003 does not test proper specification conformance statement
- From: Jim Marino <jim.marino@gmail.com>
- To: sca-j@lists.oasis-open.org
- Date: Thu, 7 Mar 2013 17:03:29 +0100
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
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]