[
https://issues.apache.org/jira/browse/SLING-2606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Edelson resolved SLING-2606.
-----------------------------------
Resolution: Fixed
in r1390679, made MockBundleContext a public class and introduced new
constructors to MockComponentContext which accept a MockBundleContext object.
> allow the MockBundleContext to be overridden
> --------------------------------------------
>
> Key: SLING-2606
> URL: https://issues.apache.org/jira/browse/SLING-2606
> Project: Sling
> Issue Type: Improvement
> Components: Testing
> Reporter: Justin Edelson
> Assignee: Justin Edelson
> Fix For: Commons Testing 2.0.12
>
>
> When testing components which need to register services (say, in their
> activate method), it would be helpful to be able to override the
> MockBundleContext object
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira