Uploaded image for project: 'Syncope'
  1. Syncope
  2. SYNCOPE-245

Improve UserTestITCase, RoleTestITCase and TaskTestITCase

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.3-incubating, 1.1.0
    • Fix Version/s: 1.1.0
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

        1. syncope_tests.patch
          37 kB
          Christian Schneider
        2. syncope_usertest.patch
          19 kB
          Christian Schneider

          Activity

            People

            • Assignee:
              chris@die-schneider.net Christian Schneider
              Reporter:
              chris@die-schneider.net Christian Schneider
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: