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

[BeanUtils2] Make sure VoidMethodsTestCase uses a NullBeanAcessor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Nightly Builds
    • None
    • BeanUtils2
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: