[
https://issues.apache.org/jira/browse/SLING-10498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17364423#comment-17364423
]
Henry Kuijpers commented on SLING-10498:
----------------------------------------
[~sseifert] Is there any reason right now the properties are being cleared
inside the MockConfiguration object, instead of actually deleting the
configuration in the MockConfigurationAdmin?
> MockConfiguration#delete() does not delete the configuration (still found by
> ConfigurationAdmin)
> ------------------------------------------------------------------------------------------------
>
> Key: SLING-10498
> URL: https://issues.apache.org/jira/browse/SLING-10498
> Project: Sling
> Issue Type: Improvement
> Components: Testing
> Affects Versions: Testing OSGi Mock 3.1.2
> Reporter: Henry Kuijpers
> Priority: Major
>
> MockConfiguration#delete does not delete the configuration from the map (in
> MockConfigurationAdmin), but instead clears the properties of the
> configuration (while maintaining the PID).
> To mimic a real world scenario, that configuration should in fact be deleted
> from the map that MockConfigurationAdmin is holding.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)