-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide way to handle configAdmin configutations via Annotations/Extension #164
Comments
I don't know what you are trying to show with the code. You seem to be defining configurations with annotations in the test case class. You need much more explanation of what you are trying to do and why. I can see that having some configuration in ConfigurationAdmin before running test methods can be useful. But I am not sure I can see what it means to inject a configuration into a field or a method parameter means. |
Also, I think we would also want a way to provide equivalent support for JUnit 4. |
I made the Example a bit more descriptive. I think this should be done by annotating the method.
To get access to the
I this is interesting i will Provide an PR for Junit5 and Junit4 |
Closed via #165 |
The ConfigurationExtension should help to config the Config-Admin using annotations. I also should inject Fields and Parameters of the
org.osgi.service.cm.Configuration
Type if they are annotated.Could you have a look at this Example and give me some feedback
The text was updated successfully, but these errors were encountered: