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

Improve UserTestITCase, RoleTestITCase and TaskTestITCase

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.3-incubating, 1.1.0
    • 1.1.0
    • None
    • 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

            cschneider Christian Schneider
            cschneider Christian Schneider
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: