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] [Created] (SANDBOX-421) [BeanUtils2] Make sure VoidMethodsTestCase uses a NullBeanAcessor
Date Sun, 17 Jun 2012 18:42:42 GMT
Benedikt Ritter created SANDBOX-421:
---------------------------------------

             Summary: [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


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