Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
ResourceResolver Mock currently supports only directly creating a mocked ResourceResolver instances, which is fine for most testing use cases. however, since introduction of SLING-5922 we allow mounting of additional test resources into the resource tree via FSResourceProvider, and are currently using a rough hand-build intergration of MockResourceResolver and this resource provider. this has some flaws and unwanted side-effects, SLING-10937 is one of it.
we need a ResourceProvider implementation as alternative, backed by all the existing functionality.
Attachments
Issue Links
- is related to
-
SLING-11252 RRMockResourceResolverWrapper supports no way of mocking searches
- Closed
-
SLING-11548 sling-mock: Introduce RESOURCEPROVIDER_MOCK resource resolver type
- Closed
- relates to
-
SLING-10937 Resource in tested Sling Model not equal to Resource it was adapted from (RESOURCERESOLVER_MOCK)
- Closed
-
SLING-5922 allow sling mock to load content from jcrvlt's xml
- Closed
- links to