[
https://issues.apache.org/jira/browse/SLING-4435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Seifert closed SLING-4435.
---------------------------------
Assignee: (was: Stefan Seifert)
> OSGi Mock: Cache reading of OSGi SCR Metadata files
> ---------------------------------------------------
>
> Key: SLING-4435
> URL: https://issues.apache.org/jira/browse/SLING-4435
> Project: Sling
> Issue Type: Improvement
> Components: Testing
> Affects Versions: Testing OSGi Mock 1.1.0
> Reporter: Stefan Seifert
> Priority: Minor
> Labels: mocks
> Fix For: Testing OSGi Mock 1.2.0
>
>
> currently the OSGi SCR metadata XML files are parsed multiple times for each
> SCR component during the unit tests. the metadata in classpath can be
> considered static during the whole unit test, so it should be safe to cache
> it in a static cache.
> on the way we should refactor the code to parse this metadata a bit.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)