You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2012/12/10 09:35:25 UTC

[jira] [Commented] (SYNCOPE-245) Improve UserTestITCase, RoleTestITCase and TaskTestITCase

    [ https://issues.apache.org/jira/browse/SYNCOPE-245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13527776#comment-13527776 ] 

Hudson commented on SYNCOPE-245:
--------------------------------

Integrated in Syncope-trunk #361 (See [https://builds.apache.org/job/Syncope-trunk/361/])
    [SYNCOPE-245] Applying provided patch (Revision 1419259)

     Result = SUCCESS
ilgrosso : 
Files : 
* /syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/AbstractTest.java
* /syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/RoleTestITCase.java
* /syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/SchemaTestITCase.java
* /syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/TaskTestITCase.java
* /syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/UserTestITCase.java

                
> Improve UserTestITCase, RoleTestITCase and TaskTestITCase
> ---------------------------------------------------------
>
>                 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_tests.patch, 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