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 2020/04/29 09:55:00 UTC
[jira] [Resolved] (SLING-9407) sling-mock: Add mock for
ResourceBundleProvider and ResourceBundle (i18n)
[ https://issues.apache.org/jira/browse/SLING-9407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Seifert resolved SLING-9407.
-----------------------------------
Resolution: Fixed
https://github.com/apache/sling-org-apache-sling-testing-sling-mock/commit/461ac0e0373d0741467d0329c10e29fb2d242464
> sling-mock: Add mock for ResourceBundleProvider and ResourceBundle (i18n)
> -------------------------------------------------------------------------
>
> Key: SLING-9407
> URL: https://issues.apache.org/jira/browse/SLING-9407
> Project: Sling
> Issue Type: New Feature
> Components: Testing
> Reporter: Stefan Seifert
> Assignee: Stefan Seifert
> Priority: Major
> Fix For: Testing Sling Mock 2.5.0
>
>
> currently there is no built-in support for i18n, it's required to implement an own mock of ResourceBundleProvider. we need a default implementation that returns the keys as values, but allows to add your own mappings if needed.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)