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

Benedikt Ritter updated SANDBOX-362:
------------------------------------

    Attachment: SANDBOX-362-TypeUtilsTest.txt

Hi,

I have created a patch that adds a unit test for type utils. The test consists 
of 244 test methods. To be honest, it has been a lot of copy and paste work. 
But I think that TypeUtils is one of the central classes, so one test more or 
less doesn't hurt (or does it?). I wanted to test at least every possible 
combination of primtives and wrapper types. If you think, that the test is to 
huge, just let me know!

@Simo: if you apply the patch, think very carefully if you want to change 
TypeUtils afterwards. It will beak a bazillion tests ;-)
                
> Create basic unit tests for all classes
> ---------------------------------------
>
>                 Key: SANDBOX-362
>                 URL: https://issues.apache.org/jira/browse/SANDBOX-362
>             Project: Commons Sandbox
>          Issue Type: Test
>          Components: BeanUtils2
>    Affects Versions: Nightly Builds
>            Reporter: Benedikt Ritter
>         Attachments: ArgumentTest.zip, 
> SANDBOX-362-RefactoringOfArgumentTest.txt, SANDBOX-362-TypeUtilsTest.txt
>
>
> Back up all existing implementations with unit tests:
> * Argument
> * Assertions
> * BeanUtils
> * DefaultBeanAccessor
> * DefaultClassAccessor
> * MethodRegistry
> * TypeUtils

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

        

Reply via email to