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 2014/10/01 10:09:34 UTC

[jira] [Commented] (SLING-3969) Deprecate MockResourceResolver in favor of testing/resourceresolver-mock and update docs

    [ https://issues.apache.org/jira/browse/SLING-3969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14154543#comment-14154543 ] 

Stefan Seifert commented on SLING-3969:
---------------------------------------

Completed: At revision: 1628636  

removed the dependency to the (now-deprecated) MockResourceResolver class from MockSlingHttpServletRequest

> Deprecate MockResourceResolver in favor of testing/resourceresolver-mock and update docs
> ----------------------------------------------------------------------------------------
>
>                 Key: SLING-3969
>                 URL: https://issues.apache.org/jira/browse/SLING-3969
>             Project: Sling
>          Issue Type: Improvement
>          Components: Testing
>    Affects Versions: Commons Testing 2.0.16
>            Reporter: Konrad Windszus
>            Assignee: Stefan Seifert
>            Priority: Trivial
>             Fix For: Commons Testing 2.0.18
>
>
> Can you please mention the new resourceresolver mock in http://sling.apache.org/documentation/tutorials-how-tos/testing-sling-based-applications.html#mock-classes-and-services. 
> Also please deprecate the old one in https://github.com/apache/sling/blob/trunk/bundles/commons/testing/src/main/java/org/apache/sling/commons/testing/sling/MockResourceResolver.java in favour of https://github.com/apache/sling/blob/trunk/testing/resourceresolver-mock/src/main/java/org/apache/sling/testing/resourceresolver/MockResourceResolver.java.
> The same applies to MockResourceResolverFactory and related classes.



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