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

Stefan Seifert resolved SLING-6388.
-----------------------------------
       Resolution: Fixed
         Assignee: Stefan Seifert
    Fix Version/s: Testing JCR Mock 1.2.0

Completed: At revision: 1773566  

thanks for the contribution, i've applied it!

hopefully we have detected all code paths that result in changes - but looks 
good to me at the first sight.

> Support tracking changes of JCR Mock MockSession
> ------------------------------------------------
>
>                 Key: SLING-6388
>                 URL: https://issues.apache.org/jira/browse/SLING-6388
>             Project: Sling
>          Issue Type: Improvement
>          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)

Reply via email to