SPR_20003 does not test proper specification conformance statement

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • None
    • Affects Version/s: 1.1
    • Component/s: Spring Testcases
    • None
    • Hide

      Either remove the testcase or adjust it to test a conformance statement of the spec

      Show
      Either remove the testcase or adjust it to test a conformance statement of the spec

      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.

            Assignee:
            Unassigned
            Reporter:
            Mike Edwards (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: