PicoContainer
  1. PicoContainer
  2. PICO-152

Increase coverage of ConstructorInjectionComponentAdapter

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0-RC-1
    • Fix Version/s: 1.0-RC-1
    • Component/s: PicoContainer (Java)
    • Labels:
      None
    • Number of attachments :
      2

      Description

      Recent change of PICO-151 reduced coverage, because of an unused method and another method called now only in case of an error, that was not tested before.

      Patches follow removing obsolete function and completing unit test.

      BTW: The name of the test case for ConstructorInjectionComponentAdapter should be renamed also!

        Activity

        Hide
        Jörg Schaible added a comment -

        ConstructorInjectionComponentAdapter.java.diff

        Show
        Jörg Schaible added a comment - ConstructorInjectionComponentAdapter.java.diff
        Jörg Schaible made changes -
        Field Original Value New Value
        Attachment ConstructorInjectionComponentAdapter.java.diff [ 11605 ]
        Hide
        Jörg Schaible added a comment -

        ConstructorComponentAdapterTestCase.java.diff

        Show
        Jörg Schaible added a comment - ConstructorComponentAdapterTestCase.java.diff
        Jörg Schaible made changes -
        Aslak Hellesøy made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Assignee Aslak Hellesoy [ rinkrank ]
        Fix Version/s 1.0-RC-1 [ 10461 ]

          People

          • Assignee:
            Aslak Hellesøy
            Reporter:
            Jörg Schaible
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: