commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simone Tripodi (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SANDBOX-421) [BeanUtils2] Make sure VoidMethodsTestCase uses a NullBeanAcessor
Date Mon, 18 Jun 2012 12:15:42 GMT

     [ 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

        

Mime
View raw message