You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by "Christian Schneider (JIRA)" <ji...@apache.org> on 2012/12/07 17:55:21 UTC
[jira] [Commented] (SYNCOPE-245) Improve UserTestITCase and
RoleTestITCase
[ https://issues.apache.org/jira/browse/SYNCOPE-245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13526537#comment-13526537 ]
Christian Schneider commented on SYNCOPE-245:
---------------------------------------------
Ok .. will do the changes. I also found the methods are a good match for AbstractTest as I found some more similar code in TaskTest.
> Improve UserTestITCase and RoleTestITCase
> -----------------------------------------
>
> Key: SYNCOPE-245
> URL: https://issues.apache.org/jira/browse/SYNCOPE-245
> Project: Syncope
> Issue Type: Improvement
> Affects Versions: 1.0.3-incubating, 1.1.0
> Reporter: Christian Schneider
> Assignee: Christian Schneider
> Fix For: 1.1.0
>
> Attachments: syncope_usertest.patch
>
>
> The test org.apache.syncope.core.rest.UserTestITCase has some highly repetitive code where AttributeTOs and AttributeMods are created. I created two small helper methods and was able to make the test about 150 lines smaller.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira