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

[jira] [Updated] (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 ]

Benedikt Ritter updated SANDBOX-421:
------------------------------------

    Attachment: SANDBOX-421.patch

I've added a patch for this issue.
                
> [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
>         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