[
https://issues.apache.org/jira/browse/SLING-6040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15467139#comment-15467139
]
ASF GitHub Bot commented on SLING-6040:
---------------------------------------
GitHub user stefanseifert opened a pull request:
https://github.com/apache/sling/pull/167
SLING-6040 Add ResourceBuilder Support to sling-mock
depends on PR #166
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/stefanseifert/sling
feature/SLING-6040-slingmock-resourcebuilder
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/sling/pull/167.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #167
----
commit 79cce1881d2dd14731711ad187125ca47b368878
Author: sseifert <[email protected]>
Date: 2016-09-06T09:56:09Z
SLING-6039 ResourceBuilder: Split up ResourceBuilder and
ResourceBuilderFactory
commit adcfe5ddc6376d781200efd9adbc53350aa81ce5
Author: Stefan Seifert <[email protected]>
Date: 2016-09-06T10:07:26Z
add infinitest.filters to ignore list
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1759403
13f79535-47bb-0310-9956-ffa450edef68
commit b4328855d6bc39b2306251496d3eaf288da1bc25
Author: sseifert <[email protected]>
Date: 2016-09-06T10:36:22Z
SLING-6040 add ResourceBuilder support to SlingContext
commit 1884dfc3b9e547a20d78866365aa2a13a0347777
Author: sseifert <[email protected]>
Date: 2016-09-06T10:50:29Z
SLING-6040 split up ResourceBuilder project into impl and integration-tests
to remove dependency to sling-mock in impl project
----
> Add ResourceBuilder Support to sling-mock
> -----------------------------------------
>
> Key: SLING-6040
> URL: https://issues.apache.org/jira/browse/SLING-6040
> Project: Sling
> Issue Type: New Feature
> Components: Extensions, Testing
> Reporter: Stefan Seifert
> Assignee: Stefan Seifert
> Labels: mocks
> Fix For: Testing Sling Mock 2.0.2, Resource Builder 1.0.0
>
>
> we want to provide the Sling ResourceBuilder as alternative way in sling mock
> to simply create test resources.
> currently sling mocks supports it's own "ContentBuilder" via the {{create()}}
> method on the context.
> a new method {{build()}} should be added which provides a preconfigred
> ResourceBuilder instance for the current resource resolver.
> alternatively the ResourceResolverFactory service can be accessed directly
> form the test code.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)