Francesco Mari created OAK-4302:
-----------------------------------

             Summary: DefaultSyncContextTest contains duplicate tests
                 Key: OAK-4302
                 URL: https://issues.apache.org/jira/browse/OAK-4302
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: auth-external
            Reporter: Francesco Mari
             Fix For: 1.6


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to