Uploaded image for project: 'Commons Sandbox'
  1. Commons Sandbox
  2. SANDBOX-421

[BeanUtils2] Make sure VoidMethodsTestCase uses a NullBeanAcessor

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Nightly Builds
    • Fix Version/s: None
    • Component/s: BeanUtils2
    • Labels:
      None

      Description

      The current implementation of the VoidMethodsTestCase doesn't make sure, that the voidAccessor field is acutally set. If the call in setUp would return null, most tests would pass anyway because they expect a NPE. For this reason the setUp should make sure, that voidAccessor is set to an instance of NullBeanAcessor.

        Attachments

        1. SANDBOX-421.patch
          0.7 kB
          Benedikt Ritter

          Activity

            People

            • Assignee:
              simone.tripodi Simone Tripodi
              Reporter:
              britter Benedikt Ritter
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: