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:31:20 UTC
[jira] [Updated] (SYNCOPE-245) Improve UserTestITCase
[ https://issues.apache.org/jira/browse/SYNCOPE-245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Schneider updated SYNCOPE-245:
----------------------------------------
Attachment: syncope_usertest.patch
Patch added
> Improve UserTestITCase
> ----------------------
>
> Key: SYNCOPE-245
> URL: https://issues.apache.org/jira/browse/SYNCOPE-245
> Project: Syncope
> Issue Type: Test
> Affects Versions: 1.0.3-incubating
> Reporter: 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