[
https://issues.apache.org/jira/browse/FUNCTOR-15?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bruno P. Kinoshita updated FUNCTOR-15:
--------------------------------------
Attachment: FUNCTOR-15.patch
Patch with tests for algorithms.
This patch also includes toString() methods in algorithms. Some algorithms
needed the toString() to pass the tests (BaseFunctorTest).
I implemented toString() in all algorithms to keep the same behavior regarding
toString() in all algorithms.
I reviewed the license headers, checkstyle issues and general formatting :-)
Hope this patch is good.
Thanks
> Distribute tests from TestAlgorithms into several test classes under
> algorithm test package
> -------------------------------------------------------------------------------------------
>
> Key: FUNCTOR-15
> URL: https://issues.apache.org/jira/browse/FUNCTOR-15
> Project: Commons Functor
> Issue Type: Improvement
> Environment: debian lenny, eclipse indigo, sun java 6
> Reporter: Bruno P. Kinoshita
> Priority: Minor
> Labels: testing
> Attachments: FUNCTOR-15.patch
>
>
> Several algorithms are tested in o.a.c.functor.TestAlgorithms. This test
> class has too many methods, and this way it's harder to include new tests or
> manage existing ones. We will create separate test classes for each algorithm
> under o.a.c.functor.algorithm, and will include generics too.
--
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