You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Simone Tripodi (JIRA)" <ji...@apache.org> on 2012/06/18 14:15:42 UTC

[jira] [Resolved] (SANDBOX-421) [BeanUtils2] Make sure VoidMethodsTestCase uses a NullBeanAcessor

     [ https://issues.apache.org/jira/browse/SANDBOX-421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simone Tripodi resolved SANDBOX-421.
------------------------------------

    Resolution: Fixed
      Assignee: Simone Tripodi

Good, thanks Bene, patch applied, see r1351316.

thanks!
                
> [BeanUtils2] Make sure VoidMethodsTestCase uses a NullBeanAcessor
> -----------------------------------------------------------------
>
>                 Key: SANDBOX-421
>                 URL: https://issues.apache.org/jira/browse/SANDBOX-421
>             Project: Commons Sandbox
>          Issue Type: Bug
>          Components: BeanUtils2
>    Affects Versions: Nightly Builds
>            Reporter: Benedikt Ritter
>            Assignee: Simone Tripodi
>         Attachments: SANDBOX-421.patch
>
>
> 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}}.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira