You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Seifert (JIRA)" <ji...@apache.org> on 2016/12/19 11:58:58 UTC

[jira] [Closed] (SLING-6388) Support tracking changes of JCR Mock MockSession

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

Stefan Seifert closed SLING-6388.
---------------------------------

> Support tracking changes of JCR Mock MockSession
> ------------------------------------------------
>
>                 Key: SLING-6388
>                 URL: https://issues.apache.org/jira/browse/SLING-6388
>             Project: Sling
>          Issue Type: New Feature
>          Components: Testing
>    Affects Versions: Testing JCR Mock 1.1.16
>            Reporter: Dirk Rudolph
>            Assignee: Stefan Seifert
>            Priority: Minor
>             Fix For: Testing JCR Mock 1.2.0
>
>
> {{org.apache.sling.testing.mock.jcr.MockSession#hasPendingChanges}} always returns {{false}}. This causes the {{ResourceResolver}} to return {{false}} for {{hasChanges()}} as well, making it difficult to use the JCR Mock {{ResourceResolverType}} for tests of transactional implementations using {{ResourceResolver}}



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