[jira] [Updated] (SANDBOX-429) [BeanUtils2] Implement unit tests for MethodsRegistry

2012-07-22 Thread Benedikt Ritter (JIRA)

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

Benedikt Ritter updated SANDBOX-429:


Attachment: SANDBOX-429v2.patch

Woops, I've just noticed, that the first version of my patch does not contain a 
test bean class I've written. Please use v2.

ExceptionBean is a class I've used for the test cases for SANDBOX-423 but it is 
useful for methods registry tests also. It defines some methods with protected, 
private and package visibility to test exception handling in cases, when 
methods are not accessible to the BU2 code.

> [BeanUtils2] Implement unit tests for MethodsRegistry
> -
>
> Key: SANDBOX-429
> URL: https://issues.apache.org/jira/browse/SANDBOX-429
> Project: Commons Sandbox
>  Issue Type: Sub-task
>  Components: BeanUtils2
>Affects Versions: Nightly Builds
>Reporter: Benedikt Ritter
>Priority: Trivial
> Attachments: SANDBOX-429.patch, SANDBOX-429v2.patch
>
>


--
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




[jira] [Updated] (SANDBOX-429) [BeanUtils2] Implement unit tests for MethodsRegistry

2012-07-22 Thread Benedikt Ritter (JIRA)

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

Benedikt Ritter updated SANDBOX-429:


Attachment: SANDBOX-429.patch

I've uploaded a patch for this issue. I'm not sure how to test all possible 
execution paths in resolveAccessible() without defining a bunch of new classes 
just for this purpose. I've marked this as a TODO.

> [BeanUtils2] Implement unit tests for MethodsRegistry
> -
>
> Key: SANDBOX-429
> URL: https://issues.apache.org/jira/browse/SANDBOX-429
> Project: Commons Sandbox
>  Issue Type: Sub-task
>  Components: BeanUtils2
>Affects Versions: Nightly Builds
>Reporter: Benedikt Ritter
>Priority: Trivial
> Attachments: SANDBOX-429.patch
>
>


--
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