This is an automated email from the ASF dual-hosted git repository.
andysch pushed a change to branch feature/SLING-7768
in repository
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-resourceresolver.git.
from 511d33d Rename the PlaceHolderProvider to StringInterpolationProvider
and created a test suite to test the String Interpolation Provider with Map
Entries
new 7e03737 Adding Resource Resolver based path resolution tests and
revamping some of the unit tests to consolidate them
new f3b9a00 SLING-7768: Added /etc/map tests to the resource resolver and
extracted some common test code into MockTestUtil class
The 2 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:
.../impl/EtcMappingResourceResolverTest.java | 276 +++++++++++++++++++
.../impl/MockedResourceResolverImplTest.java | 21 +-
.../resourceresolver/impl/SimpleValueMapImpl.java | 7 +-
...est.java => AbstractMappingMapEntriesTest.java} | 149 +++++++----
.../impl/mapping/EtcMappingMapEntriesTest.java | 251 ++++++++++++++++++
.../impl/mapping/MapEntriesTest.java | 177 ++-----------
.../mapping/StringInterpolationMapEntriesTest.java | 176 ++----------
.../sling/resourceresolver/util/MockTestUtil.java | 294 +++++++++++++++++++++
8 files changed, 985 insertions(+), 366 deletions(-)
create mode 100644
src/test/java/org/apache/sling/resourceresolver/impl/EtcMappingResourceResolverTest.java
copy
src/test/java/org/apache/sling/resourceresolver/impl/mapping/{StringInterpolationMapEntriesTest.java
=> AbstractMappingMapEntriesTest.java} (60%)
create mode 100644
src/test/java/org/apache/sling/resourceresolver/impl/mapping/EtcMappingMapEntriesTest.java
create mode 100644
src/test/java/org/apache/sling/resourceresolver/util/MockTestUtil.java