You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Julian Reschke (JIRA)" <ji...@apache.org> on 2016/11/10 09:38:58 UTC

[jira] [Updated] (OAK-4302) DefaultSyncContextTest contains duplicate test

     [ https://issues.apache.org/jira/browse/OAK-4302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julian Reschke updated OAK-4302:
--------------------------------
    Fix Version/s: 1.6

> DefaultSyncContextTest contains duplicate test
> ----------------------------------------------
>
>                 Key: OAK-4302
>                 URL: https://issues.apache.org/jira/browse/OAK-4302
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: auth-external
>            Reporter: Francesco Mari
>            Assignee: angela
>            Priority: Trivial
>             Fix For: 1.6, 1.5.2, 1.4.7, 1.2.19
>
>
> 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)