commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedikt Ritter (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SANDBOX-421) [BeanUtils2] Make sure VoidMethodsTestCase uses a NullBeanAcessor
Date Sun, 17 Jun 2012 18:44:42 GMT

     [ 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

        

Mime
View raw message