You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ss...@apache.org on 2021/01/12 21:52:42 UTC
[sling-org-apache-sling-testing-resourceresolver-mock] branch
master updated (d6439a0 -> 8b02aff)
This is an automated email from the ASF dual-hosted git repository.
sseifert pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-testing-resourceresolver-mock.git.
from d6439a0 move dependency versions that are relevant at runtime to dependencyManagement section to make clear they are managed explicitly and not necessarily inherited from bundle-parent pom
add 24e8fee SLING-10003 allow to provide mocked search results for findResources and queryResources
add f0c249f SLING-10003 make documentation more precise
new 8b02aff Merge pull request #2 from apache/feature/SLING-10003-mock-find-query-resources
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
...age-info.java => MockFindResourcesHandler.java} | 24 ++++-
...age-info.java => MockQueryResourceHandler.java} | 24 ++++-
.../resourceresolver/MockResourceResolver.java | 52 +++++++--
.../resourceresolver/FindQueryResourcesTest.java | 116 +++++++++++++++++++++
4 files changed, 202 insertions(+), 14 deletions(-)
copy src/main/java/org/apache/sling/testing/resourceresolver/{package-info.java => MockFindResourcesHandler.java} (59%)
copy src/main/java/org/apache/sling/testing/resourceresolver/{package-info.java => MockQueryResourceHandler.java} (59%)
create mode 100644 src/test/java/org/apache/sling/testing/resourceresolver/FindQueryResourcesTest.java
[sling-org-apache-sling-testing-resourceresolver-mock] 01/01: Merge
pull request #2 from apache/feature/SLING-10003-mock-find-query-resources
Posted by ss...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
sseifert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-testing-resourceresolver-mock.git
commit 8b02aff523b62b82c57c182c525767a3dc905dcb
Merge: d6439a0 f0c249f
Author: Stefan Seifert <st...@users.noreply.github.com>
AuthorDate: Tue Jan 12 22:52:31 2021 +0100
Merge pull request #2 from apache/feature/SLING-10003-mock-find-query-resources
SLING-10003 allow to provide mocked search results for findResources and queryResources
.../resourceresolver/MockFindResourcesHandler.java | 41 ++++++++
.../resourceresolver/MockQueryResourceHandler.java | 41 ++++++++
.../resourceresolver/MockResourceResolver.java | 52 +++++++--
.../resourceresolver/FindQueryResourcesTest.java | 116 +++++++++++++++++++++
4 files changed, 242 insertions(+), 8 deletions(-)