Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-4302

DefaultSyncContextTest contains duplicate test

    XMLWordPrintableJSON

Details

    Description

      Some test methods in DefaultSyncContextTests are the same when compared line-by-line:

      • testCreateValueFromBytesArray, testCreateValueFromBinary and testCreateValueFromInputStream;
      • testGetIdentityRefSyncGroup and testGetIdentityRefSyncUser.

      If these methods are actually testing different things because of a lucky state of the instance variable and an even luckier running order, they should be reworked to be independent. Otherwise, some of them should be removed.

      Attachments

        Activity

          People

            angela Angela Schreiber
            frm Francesco Mari
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: