OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

sca-j message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] Created: (SCAJ-31) SPR_20003 does not test proper specification conformance statement


SPR_20003 does not test proper specification conformance statement
------------------------------------------------------------------

                 Key: SCAJ-31
                 URL: http://tools.oasis-open.org/issues/browse/SCAJ-31
             Project: OASIS Service Component Architecture / J (SCA-J) TC
          Issue Type: Bug
          Components: Spring Testcases
    Affects Versions: 1.1
            Reporter: Mike Edwards


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>

It sin't clear how the above application context tests the assertion.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]