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 2021/08/26 19:49:00 UTC
[jira] [Resolved] (SLING-10756) sling-mock: Unify classpath/file
references in ContentLoader
[ https://issues.apache.org/jira/browse/SLING-10756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Seifert resolved SLING-10756.
------------------------------------
Resolution: Fixed
https://github.com/apache/sling-org-apache-sling-testing-sling-mock/commit/5a203e19831e2afd447679df6ff25bf997b90700
> sling-mock: Unify classpath/file references in ContentLoader
> ------------------------------------------------------------
>
> Key: SLING-10756
> URL: https://issues.apache.org/jira/browse/SLING-10756
> Project: Sling
> Issue Type: Improvement
> Components: Testing
> Reporter: Stefan Seifert
> Assignee: Stefan Seifert
> Priority: Major
> Fix For: Testing Sling Mock 3.1.0
>
>
> some methods in ContentLoader currently accept a classpath resource URL, others a file system path for referencing JSON/XML/binary files to load.
> for convenience and consistency, all methods should accept both variants, checking for classpath resource first and falling back to file system path if not found.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)